Skip to main content
0 votes
1 answer
73 views

I have already requested to be an external storage manager and get true for Environment.isExternalStorageManager() However, when trying to read /storage e.g. Environment.getStorageDirectory() I get ...
user1785730's user avatar
  • 3,946
1 vote
0 answers
160 views

I'm trying to edit (Intent.ACTION_EDIT) app's media file from app's private folder in Google Photos, but it seems Google Photos supports only Media Uri, and we can't get one for app's private storage, ...
user924's user avatar
  • 13.1k
0 votes
1 answer
101 views

I am trying to achieve generating a pdf file from the rendered html within webview, but it gives me a pdf with single page but page is blank instead of showing the html content. fun createPdfFromHtml( ...
nasibeyyubov's user avatar
  • 2,820
1 vote
1 answer
118 views

I've developed a simple application in Android Studio that attempts to display files saved in an internal directory in a column list but it's not working. Here is the code // File ...
Bob Rasner's user avatar
0 votes
0 answers
132 views

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, ...
testivanivan's user avatar
  • 1,554
1 vote
1 answer
234 views

Using a flutter app, I created a db file in 'storage/emulated/0/Documents/Keep/cs.db' path. I deleted the app. I again installed the app and want to delete/copy the file I created. But now I can't do ...
Avdhoot Ubale's user avatar
1 vote
0 answers
44 views

I'm trying to launch app installer from my app via intent. Every thing is working expect the popup to install app is not showing. I have write down logs to configure the issue, but according to logs, ...
Shah Zaman's user avatar
0 votes
0 answers
82 views

I'm working on an Android project that involves a Worker class designed to process a ZIP file input. This ZIP file is structured to include a database file located at /databases/GazeApp.db and various ...
Dominik's user avatar
  • 1,691
0 votes
1 answer
162 views

I would like to open a GmsDocumentScanningResult.Pdf object with my default PDF app. I've tried the following: resultIntent?.pdf?.let { pdf: GmsDocumentScanningResult.Pdf -> val pdfUri = pdf....
Leonardo Sibela's user avatar
0 votes
0 answers
558 views

I'm encountering an issue when trying to open a file from the download folder using FileProvider in Android 13. The problem is that even though the file exists (confirmed with file.exists()), I'm ...
Akash Adhkary's user avatar
1 vote
1 answer
254 views

I'm not really sure but why the following DocumentFile's exist and canWrite functions takes too much CPU time compare to File when working with built-in phone external storage (it's not a cloud)? It's ...
user25's user avatar
  • 3,275
0 votes
1 answer
198 views

With StorageManager we can access removable flash drives connected via USB OTG to Android smartphones: val storageManager = context.getSystemService(Context.STORAGE_SERVICE) as StorageManager ...
user924's user avatar
  • 13.1k
0 votes
0 answers
46 views

I create a file at the onCreate callback following the Android guide File folderSamples = new File(getApplicationContext().getFilesDir().getAbsolutePath()); File test = new File(folderSamples, &...
user1012480's user avatar
0 votes
0 answers
204 views

I used this object to get the real path of a selected file from its URI: object RealPathUtil { fun getRealPath(context: Context, fileUri: Uri): String? { val realPath: String? // SDK < ...
Asikur Rahman's user avatar
0 votes
1 answer
356 views

I want the following functionality: In my application's internal storage I have a file and the user should be able to save it to another app (ex. Google Drive) OR save it to the phone's external ...
user13756297's user avatar

15 30 50 per page
1
2 3 4 5
70