[android-developers] Re: how to retrieve path of the sdcard

2009-01-07 Thread David Turner
it's /sdcard :-) On Wed, Jan 7, 2009 at 2:10 PM, pradeep pradeep...@gmail.com wrote: hi can any one let me know how to to retrieve path of the sdcard? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: how to retrieve path of the sdcard

2009-01-07 Thread wescorp
hi, try File sdpath = Environment.getExternalStorageDirectory(); Log.d(sdpath = , sdpath.toString()); cheers, Wes On Jan 7, 6:31 am, David Turner di...@android.com wrote: it's /sdcard :-) On Wed, Jan 7, 2009 at 2:10 PM, pradeep pradeep...@gmail.com wrote: hi can any one let me know

[android-developers] Re: how to retrieve path of the sdcard

2009-01-07 Thread Ludwig
for portability use: android.os.Environment.getExternalStorageDirectory() Ludwig 2009/1/7 David Turner di...@android.com it's /sdcard :-) On Wed, Jan 7, 2009 at 2:10 PM, pradeep pradeep...@gmail.com wrote: hi can any one let me know how to to retrieve path of the sdcard?

[android-developers] Re: how to retrieve path of the sdcard

2009-01-07 Thread Sergi Velez
android.os.Environment.getExternalStorageDirectory() is the preferred way of retrieve the SD card, as it's device independent. --- sergi.ve...@gmail.com [In theory, theory and practice are the same. In practice, they are not.] On Wed, Jan 7, 2009 at 14:31, David Turner di...@android.com wrote: