Top "Android-file" questions

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

Android, how to choose save file location?

is there any solution how to choose the saving files location? maybe with the original file browser, to choose the …

android android-file
Android How do I check the number of files in a directory

I am creating a directory in internal memory of device for storing files for application use.I am using: File …

android android-file
Android select mp3 file

Sorry if this has already been answered, but I can't specify my question very well. I have an activity that …

android mp3 android-file
Android: Too many open files error

I have the following operation which runs every 3 seconds. Basically it downloads a file from a server and save it …

android httpurlconnection android-file
Playing audio file from Sdcard

I would like to play an audio file from the sdcard. How can I read the audio file and play …

android soundpool android-file
add image to twitter share intent android

I'm trying to add an image to my twitter share intent. I save an image locally in one class and …

android android-intent twitter android-file
Reading a cache file previously written by the same app

I'm writing to a file using the code below: File file = new File(getCacheDir(), "cachefile"); FileOutputStream fos = new FileOutputStream(file); …

android android-file
Why does FileOutputStream throw FileNotFoundException?

The Android Developer reference (this page) says: Throws FileNotFoundException But at the very start, it says: Open a private file …

java android java-io android-file android-context
Android file writing Read-Only file system warning

I'm trying to write a file using the FileOutputStreamand OutputStreamWriterbut I keep getting a read only warning. Here is the …

android android-file
How to Get Absolute Path in Android for File?

btnimport.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent fileintent = new Intent(Intent.ACTION_GET_CONTENT); fileintent.…

android csv android-intent android-file