You will probably want it on removable media (SD card). First you want to check if the storage is available, and then read / write.
: http://developer.android.com/intl/de/guide/topics/data/data-storage.html#filesExternal
( API 8, getExternalFilesDir, , , >= 8.)
, - :
public boolean isExternalStorageAvail() {
return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED);
}
( ) .
:
File f = new File(Environment.getExternalStorageDirectory() + "/mycsvlocation/myfile.csv");
File, , , .., .
, SD-, "Android/data//files", , "/appname/" .
- , , SD- , . , ( ), , , .