Top "Android-file" questions

Specifically the Android `File` class, but may also refer to the generic concept of files under the Android operating system

how to create a file with world readable permission under subdirectory of files directory

I need to create files under myapp/files/subdir with global permission in my application. I do this because I …

android storage file-permissions java-io android-file
Downloaded files get deleted automatically

In my app, there are a few files that users can download. The files get downloaded via the android download …

android android-file android-download-manager
Android won't write new line in text file

I am trying to write a new line to a text file in android. Here is my code: FileOutputStream fOut; …

java android android-file
Creating and deleting a file in assets folder automatically

Possible Duplicate: how we can remove a file from the assets folder at runtime in android? Is it possible to …

android android-file android-assets
Null pointer Exception on file- URI?

In my app a capture button is there to capture an image using device camera,so I have used a …

android android-file android-camera-intent
Allow User To Select Path For Save File in Android

I am developing one application for our client and there is one little functionality where we are stuck, so need …

android file android-file
Android: how to get list of all preference xml's for my app and read them?

how to get list of all application preferences for application, 1. I am saving shared preference in this manner 2. I know …

android sharedpreferences android-preferences readfile android-file
Why do I need the WRITE_EXTERNAL_STORAGE permission with getExternalCacheDir() on Android Lollipop?

My app writes (and reads) cache files to the getExternalCacheDir() location. Before Android Lollipop (API 21) I've been using this permission …

android android-file android-permissions
How to get data from MediaStore.File and MediaStore.File.FileColumn

I am trying to get all the file name having audio files in it I have used Mediastore to get …

android android-mediaplayer android-file mediastore
Deleting files in Android

I have a directory that contains a lot of files. I want to delete the entire directory as well as …

java android java-io android-file