IMAGE_CAPTURE for CAMERA, GET_CONTENT for GALLERY (to get files change mimeType if you want video), PICK for GALLERY (should change mimetype if u want video)ĬHOOSER for GALLERY (if someone has other image browsers) In my case, the problem disappears when I add The issue can be related to new package visibility ( ).Īfter all updates (at least Android Studio 4.1) try to add in your manifest the that show what action is required in your app. To resolve this issue you have to use in manifest as queryIntentActivities() are filtered based on the calling app's declaration.įix image capture + image upload to work with Android "scoped storage" PackageManager.queryIntentActivities(intent, 0) will return an EMPTY list if your app is running on targetSdkVersion 30
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |