I’m creating a file world-readable using this instruction:
FileOutputStream fos = openFileOutput(filename.toString(), MODE_WORLD_READABLE);
file is created (i can see emulator’s memory and file is there), but I can’t find it on my device!!
Where is it?
In Application’s Internal Storage.. by default
/data/data/<package_name>/Check this directory..
But if your device is non-rooted then you can not seen this file in DDMS -> FIle-Explorer.
For this you can try via commnad prompt using
adb shellIf you want to just access files in your application then use,
Gets the absolute path to the filesystem directory where your internal files are saved.