I am facing some weird problem regarding is memory card present or not. I am checking for IsSDCARD present its returing true on my google nexus device but when i try to access memory card from eclipse using file explorer its showing no memory card in mnt folder(the arrao before memory card is not present)....Here is my code please help
public static boolean isSDCardMounted() {
Boolean isSDPresent = android.os.Environment.getExternalStorageState()
.equals(android.os.Environment.MEDIA_MOUNTED);
Log.d("Tag", "SDCARD PRESENT....." + isSDPresent);
return isSDPresent;
}
if (!DownLoadFile.isSDCardMounted()) {
CommonFunctions.showAlerts(MainActivity.this,
"SD Card Not Available");
if (progressDialog.isShowing())
progressDialog.dismiss();
cancel(true);
}
Please help.....