I was referring to this http://developer.android.com/guide/topics/data/data-storage.html#filesInternal for write file in internal memory. Where do I check the file? For an example the guide code:
String FILENAME = "hello_file";
String string = "hello world!";
FileOutputStream fos = openFileOutput(FILENAME, Context.MODE_PRIVATE);
fos.write(string.getBytes());
fos.close();
Where do I go and check the file hello_file, since the guide didn’t give the path?
If you have created the file in the
EXTERNAL_STORAGE, then you can check the same in the sdcard by browsing through the sdcard. Or check in the/mnt/sdcard/...in the File explorer tab.If you have created the file in the
INTERNAL_STORAGEthen you can check in the/data/data...path. But you wont be able to browse/data/datapath if your phone is not rooted.