I'm writing an android app.
Clicking on a button,
I want the user to choose a photo from a specific (predefined) folder.
I have read few answers to that:
but then: how will it work in case of an empty folder?
won't public void onScanCompleted(String path, Uri uri)
open a specific file? which is allFiles[0]
?
and i'm not sure what is better for my need? Intent.ACTION_VIEW
or Intent.ACTION_PICK