Want layout to pdf extension

Want layout to pdf for Android 11 please give solution want working extension for Android 11

K104 aix is working but the pdf file storing location is Android -data -pkg name
These folder can not be accessed on Android 11 so, how to save pdf in any other folder

This post was flagged by the community and is temporarily hidden.

the file is stored in the ASD - application specific directory, which is accessible by your own app
use the file component to copy it to shared storage, see also

Taifun