Skip to main content
0 votes
1 answer
173 views

Android Studio: open failed: EACCES (Permission denied) only for some files in same directory

I am creating an app that can convert objects to JSON so that they can be imported/viewed by the app on another device. I am getting this error only when viewing files created by the app on another ...
Siddhant Samarth's user avatar
0 votes
1 answer
461 views

Why won't the permission_handler request permssion for Video on Android SDK 34?

I am using the permission_handler package for my flutter app and with a Pixel 8 Pro API 35 emulator, I am trying to request access to device gallery. This is the error i get when trying to request ...
Spencer's user avatar
  • 135
0 votes
1 answer
77 views

When do we need to use FileProvider?

I'm quite confused about when to use FileProvider when we can save a bitmap to file like this fun saveBitmapToFile(bitmap: Bitmap) { val fileName = generaUniqueName() val subdirectory = File(...
Nguyen Tien Dung's user avatar
1 vote
0 answers
174 views

How to Create a Folder and Copy Files to Android/obb Directory in Flutter?

I'm developing an app where I need to create a folder in the Android/obb directory and copy some files into it. The goal is to install a game or an app on the user's device that requires additional ...
Mojtaba Mahamed's user avatar
0 votes
0 answers
19 views

ANDROID - ActivityResultLauncher intent extra return null on ACTION_IMAGE_CAPTURE [duplicate]

I'm trying to add a captured image in the external private storage space of my app. To do this, I have create a file object with getExternalFilesDir. public static File createImageFile(Context ...
JungleBook's user avatar
1 vote
3 answers
128 views

Automated screenshots - Which Storage API?

I'm automating the creation of screenshots using instrumented tests (androidTest) on a debug version of my app using UiAutomator and a shell script that uses adb pull. Once each screenshot has been ...
medavox's user avatar
  • 334
0 votes
1 answer
644 views

ContentResolver.takePersistableUriPermission: SecurityException No persistable permission grants found for UID 10434 and Uri content:/

I have noticed the following exception (Firebase Crashlytics): Fatal Exception: java.lang.RuntimeException Failure delivering result ResultInfo{who=null, request=1915322883, result=-1, data=Intent { ...
user924's user avatar
  • 12.9k
0 votes
1 answer
335 views

Unable to get Manage External Storage permission

In this Document Scanner App, I accessed the storage photos and import to my app as well, But I also want to Write External Storage to create a folder in External Storage where I can Store the ...
Aurangzaib Buzdar's user avatar
1 vote
1 answer
37 views

open a file in our tablet's Downloads folder, such as by using its mimeType to send an Intent to our app

Our general problem is we need our app in a tablet to send a mail to another tablet where our app reads one attachment file, in HTML. But because of "security" we cannot manipulate the mail ...
Phlip's user avatar
  • 5,350
0 votes
0 answers
77 views

how to find downloaded files, such as HTML files, in the Android Downloads folder?

This is the modern "scoped storage" way we are supposed to do this ridiculously simple thing: public static void listFilesInDownloadsFolder(Context context) { Uri uri = MediaStore....
Phlip's user avatar
  • 5,350
2 votes
1 answer
2k views

SecurityException: Calling uid does not have permission to access picker uri

I'm using fun Context.persistUriAccess(uri: Uri) { grantUriPermission(packageName, uri, Intent.FLAG_GRANT_READ_URI_PERMISSION); contentResolver.takePersistableUriPermission(uri, Intent....
Ivan Morgillo's user avatar
0 votes
0 answers
88 views

Storage permission is not showing in android studio

My app is targeting 33 and compile version also 33 and using flamingo android studio. In android studio following permission are not showing, android.permission.Storage android.permission.Read_Media_* ...
suresh's user avatar
  • 417
0 votes
0 answers
391 views

"Can't load content at the moment" error preventing users from selecting folder when using intent with ACTION_OPEN_DOCUMENT_TREE

Does anyone else have experience with this? Our app prompts users to select the root of a USB drive in order to grant access to it. But for a small minority of users, they get an error like this that ...
Gavin Wright's user avatar
  • 3,332
0 votes
1 answer
514 views

ActivityNotFoundException in Android 13 (Redmi Note 10S) ACTION_OPEN_DOCUMENT

this is not a duplicate. I checked carefully before posting this one. There's a similar question here for reference but it is about OPEN_DOCUMENT_TREE. Mine's about ACTION_OPEN_DOCUMENT The task to ...
Ezequiel Adrian's user avatar
0 votes
1 answer
2k views

Is there any alternate of ACCESS_MEDIA_LOCATION permission to save images, seems it now comes with photo picker in android 14?

My app captures photos through/inside the app only, and saves it to \pictures\MyAppFolder. The app doesn't read/required to read any existing images, as it's not showing any image inside the app. So, ...
ItsVicky's user avatar

15 30 50 per page
1
2 3 4 5
24