I want to check if a text file exists on the SD card. The file name is mytextfile.txt. Below is the code:
FileOutputStream fos = openFileOutput("sdcard/mytextfile.txt", MODE_WORLD_WRITEABLE);
How to check if this file exists?
android
androiddevs78 Oct 08 '11 at 3:01 a.m. 2011-10-08 15:01
source share