Android World
Knowledge Grows When Shared
Sunday, December 5, 2010
To check if SD Card is present on android device via code
To check if SD Card is present on the device, we can use simple code
public static boolean isSdCardPresent(){
return android.os.Environment.getExternalStorageState().equals(
android.os.Environment.MEDIA_MOUNTED);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment