PowenKo, Android Tutorial 65-6, File, Check file is exit?


check file is exit ?

 

 

	File file = new File("/sdcard/tempt.txt");  
Log.i(TAG,"temp exists : " + file.exists());  

Leave a Reply