Posted by
sapan
on
- Get link
- Other Apps
String ROOT_DIR_NAME = "appdir";
File root =
android.os.Environment.getExternalStorageDirectory(); //for sdcard
File rootdir = new File (root.getAbsolutePath() + "/"+ROOT_DIR_NAME+"/"); //it is my root directory
if(rootdir.exists()==false)
{
rootdir.mkdirs();
Log.wtf("SKDINFO","folder created");
}
Comments
Post a comment