Add Snippet |
Check for the existence of a mounted file system.
raw · copy · downloadif (android.os.Environment.getExternalStorageState().equals(android.os.Environment.MEDIA_MOUNTED)){ Log.("TAG","SDcard installed"); }else{ Log.("TAG","No SDcard installed"); }
Preview
Editors
Tags
Related Snippets
Create an sdcard
viewing all files from sdcard
Image Manager to handle SDCARD Image Saves and Gets
Show an image file on the SD card in a view
Hi. Thanks a lot for this code snippet. For my project it is very necessary.
1 Comment
Hi. Thanks a lot for this code snippet. For my project it is very necessary.