[Interest] Android Native File Picker

maitai maitai at virtual-winds.org
Sun Jan 9 10:41:57 CET 2022


Hi,

Is there a way for the Android native QFileDialog::getOpenFileName to 
pick up a file in my own app private files 
(/Android/data/com.company.appname/files) ? On Android 11 and up I can 
see only Android/media.

If I use my own filepicker based on QFileSystemModel then I can see all 
my "private" files but of course I cannot see any "URI" type elsewhere.

Alternatively should I create a DocumentsProvider just to allow users to 
pick up a file in my sandbox from my app ?

Thanks in advance
Philippe Lelong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20220109/eed8a6c0/attachment.htm>


More information about the Interest mailing list