[Interest] Reading the shared Photos directory on Android

ekke ekke at ekkes-corner.org
Wed Jul 10 11:44:25 CEST 2024


Hi Israel,
have you tested to add READ_MEDIA_IMAGES permission ?
see my article about Qt Permissions https://t1p.de/ekkePermissions
and https://bugreports.qt.io/browse/QTBUG-116834 (please vote)
ciao
ekke


Am 10.07.24 um 05:14 schrieb Israel Brewster via Interest:
> I have written a Qt app, using Qt 6.6.3 that does something very 
> simple: display photos (essentially a digital photo frame). I am 
> trying to get it to run on Android 14. Unfortunately, as simple as 
> this should be, I can not for the life of me figure out how to get it 
> to request permission to access the Photos directory - and without 
> that permission, my call to fileDir.entryList comes up empty - even 
> though, if I call File::exists() with a file I know is in that 
> directory, it returns true.
....


More information about the Interest mailing list