Closed fredericvauchelles closed 1 month ago
This is outside of the scope of Slint.
Your code look alright, and I don't see anything wrong with it. But I'm no expert in the topic.
There was actually already a discussion on the subject. https://github.com/slint-ui/slint/discussions/5692
But I'm closing this issue in favour of this discussion.
Hi,
I need access to the external storage to read image file for my application on android, thus I require the
"READ_EXTERNAL_STORAGE"
permission.I already added in the $ROOT/manifest.yaml the permission:
But I need the AP to actually request that permission to the user, something like:
Where the API would look like:
Do you have an alternative or a plan to have something similar ?
I tried to use the JNI to do so:
But, it fails to find the method
Landroid/app/NativeActivity;requestPermission([Ljava/lang/String;I)V
, which should be available.