Re: [android-developers] Howto get string /dev/block/vold/179:1 ( sdcard device) in an android app

2011-02-09 Thread TreKing
On Wed, Feb 9, 2011 at 12:18 AM, maikelalonso maikelalonsob...@gmail.comwrote: Anyone knows if there is any way to get the device path of the SDCARD? http://developer.android.com/reference/android/os/Environment.html#getExternalStorageDirectory()

[android-developers] Howto get string /dev/block/vold/179:1 ( sdcard device) in an android app

2011-02-08 Thread maikelalonso
Hi: Anyone knows if there is any way to get the device path of the SDCARD? I have mounted /dev/block/vold/179:1 on /mnt/sdcard and type is vfat. My app runs ok cause I'm runnin the command mount |grep sdcard |grep vfat | awk -F '{print $1}' and get corresponding /dev/block/vold/ 179:1. But,