831 questions
0
votes
0
answers
118
views
Android Total commander have access to root ( / ) how?
Android SDK - any, tested since 24.
Total commander have at least read permissions to / directory.
In my app I can't enumerate directory /, but I have even
<uses-permission android:name="...
0
votes
1
answer
61
views
How to delete multiple images from external storage in Android
I am developing an image vault app that disguises itself as a calculator; when a secret code is entered in the keypad, and the '=' button is pressed, the vault page opens.
I am using the PhotoPicker ...
0
votes
1
answer
620
views
No Android WRITE_EXTERNAL_STORAGE permission, with ALL_FILE_ACCESS granted?
I have a music player app (that only I use, it is not in Google Play nor it will ever be) with the following Manifest permissions:
<uses-permission android:name="android.permission.WAKE_LOCK&...
0
votes
0
answers
102
views
Android. How to save a file in a public directory of external storage correctly?
I want to save file in a public external storage. For this I use the following code:
Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS)
However, starting with Android 10, ...
0
votes
0
answers
60
views
Why my file is getting stored in external storage on API 28 even after permission denied?
I am building one android app in which I am trying to save file in External storage. I am running that app on API 28 (Before introduction of scoped storage).
When the app launches, I am denying the ...
1
vote
0
answers
413
views
DownloadManager throws SecurityException (Android 14)
I am seeing this stack trace in Crashlytics:
Fatal Exception: java.lang.SecurityException: Unsupported path /storage/emulated/0/Download
at android.os.Parcel.createExceptionOrNull(Parcel.java:3023)
...
0
votes
0
answers
72
views
Using downloads folder in android 11 and up
how to make a folder in downloads folder and use it (reading and writing) in android 11 and up?
bard's code after getting permission:
private fun createFolderInDownloads() {
val intent = ...
0
votes
0
answers
210
views
Making file manager app in Android Studio and can't write to storage
I'm following a now outdated guide on making a file manager in Android Studio and I'm having a bit of trouble with writing to the storage device. The app runs and displays all the files and folders in ...
0
votes
1
answer
797
views
Flutter Path_provider's getExternalStorageDirectory() returns '/storage/emulated/0/Android/data/com.example.myApp/files', but it is not external dir
Path_provider's getExternalStorageDirectory() on Android returns '/storage/emulated/0/Android/data/com.example.myApp/files', but it is not external directory. It should return something like '/storage/...
0
votes
1
answer
193
views
I want to access a map file which is in my internal storage in android 13 and above
I am developing a map application that have a map file not in its assets or raw but on the users phone for instance country.map so how do i access by giving right permission Media.IMAGES or Media....
-1
votes
2
answers
634
views
How to get path to pdf file from uri without specific permissions in android 14 and hier
I want to get path to pdf file,which i get as uri from intent action ACTION_OPEN_DOCUMENT,but how i can get it,if media type of uri is document (via debug i understand,what problem in line 126 of my ...
1
vote
2
answers
4k
views
How do I request external storage permission for Android 13?
We have a game that we developed on Unity. We need storage permission to install and play the OBB file. We don't need any other permissions other than this. Which permission should we use and how? As ...
2
votes
2
answers
798
views
Android 13 READ Files in Smartwatch
I am developing an application for a Wear OS system that creates a txt file and saves it in a certain folder.
My problem is that I have changed my watch and now the one I'm using has Android 13 API 33 ...
1
vote
1
answer
426
views
Video file is corrupted while saving mp4 to external storage in android
I am trying to save an mp4 file after trimming with the help of its url. I am using https://github.com/a914-gowtham/android-video-trimmer for trimming my video and the updated uri after trimming is ...
0
votes
2
answers
676
views
Android - all file access permission - how to get sd card data
I'm creating an app for my own use case which is following.
I want to sort photos to the folders by date creation. eg. Folders with names like 2023-01, 2023-02 and put photos there sorted by creation ...
0
votes
0
answers
186
views
Asking question read permissions in compose - Android
I have read and write permissions in Compose, the permissions are correctly added in my manifest. This's the button that I use to ask for permission:
@Composable
fun PermissionButton(
toast: () -&...
0
votes
0
answers
62
views
File Permission issues while launching App
We plan to launch an app which needs access to user's folder permission to upload/save documents. However, play console is rejecting the app as it does not believe it is a core functionality. We have ...
1
vote
0
answers
385
views
Why saving a file to Android "External Storage" sometimes saves it to the "Internal Storage", sometimes to the "SD Card", and sometimes not at all?
I am quite confused with the concept of External Storage. I have a following code underneath where I wanted to save my bitmap drawing into the Internal Storage.
FileOutputStream outStream = null;
...
2
votes
0
answers
2k
views
Cannot open file, path = '/storage/emulated/0/Download/file.csv' (OS Error: No such file or directory, errno = 2) (Android API version: 33)
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-...
0
votes
1
answer
1k
views
Access Images In External Storage Created By My App
I need a method to access the images stored in external storage by my app.
I want to access those images without requesting READ_EXTERNAL_STORAGE or READ_MEDIA_IMAGES from the user
I'm using ...
6
votes
2
answers
7k
views
How can I save files on android 13 (API 33) by using Flutter (Dart)
Files are not only media files. It may also be .pdf, .zip, .xls and etc..
The external storage permission is permanently denied on API 33.
So, we are not able to save like this method ->
String ...
0
votes
0
answers
215
views
Intent get photo from gallery
I'm a newbie to android, I'm having a few small questions when working with Intent to get images from the gallery, the possible ways to get the images I can use like:
Type 1:
Intent getIntent = new ...
0
votes
1
answer
104
views
Randomly write on ExternalFilesDir on Samsung Tab S8 devices fails
Randomly I verify an issue on write in ExternalFilesDir on Samsung Tab S8 devices.
I have created a test app that write in this path:
packageFolder/documents/files.txt
To do that I followed this steps:...
1
vote
0
answers
469
views
Flutter : Write and Read Text File into External Storage
I want to save few user information in different line inside external storage. This is because when user come in for the second time they don't have to login again the system will check either the ...
0
votes
2
answers
1k
views
How can I write (make directory, write file, ...) on a real sd card
I want to create a folder and write a file in real external storage (real extern sd card).
I can write to the internal storage, the external storage, but not to the external sd card (I mean the ...