in Shell
adb shell # cd sdcard In application String Sdcard_status = Environment.getExternalStorageState(); if(Sdcard_status.equals(Environment.MEDIA_REMOVED)) { Toast.makeText(Helloworld.this, "INSERT MEMORY CARD (sdcard)",Toast.LENGTH_SHORT ).show(); } else { Toast.makeText(Helloworld.this, "MEMORY CARD (sdcard) ---- INSERTED",Toast.LENGTH_SHORT ).show(); } On Feb 9, 1:13 pm, for android <forandr...@gmail.com> wrote: > android.os.Environment > > On Mon, Feb 9, 2009 at 1:17 PM, jj <jagtap...@gmail.com> wrote: > > > somebody will tel me the command for checking sdcard of device > > > what is command to check SDCARD is present ? > > > or in other words how to appl the sdcard is there or not? > > > thank you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---