Re: [android-developers] Re: reading file from SDcard

2012-04-30 Thread Jonathan S
if you use lint tools, it will give you warning for hard-coded sdcard directory. On Monday, April 30, 2012 1:24:56 PM UTC-4, Rahul Vijay wrote: > > > > On Mon, Apr 30, 2012 at 6:03 PM, Mark Murphy wrote: > >> On Mon, Apr 30, 2012 at 8:26 AM, RLScott wrote: >> > It has been my experience that >>

Re: [android-developers] Re: reading file from SDcard

2012-04-30 Thread Mark Murphy
On Mon, Apr 30, 2012 at 8:26 AM, RLScott wrote: > It has been my experience that > Environment.getExternalStorageDirectory() which you mentioned > generally points to the built-in kind of external memory. It points to whatever the device manufacturer chose to point it to. On some devices, it is r

[android-developers] Re: reading file from SDcard

2012-04-30 Thread RLScott
On Apr 30, 5:38 am, Mark Murphy wrote: > First, you use Environment.getExternalStorageDirectory() to get at the > root of external storage, rather than hard-wiring in /sdcard (which is > the wrong value, anyway). It is not quite as simple as that. Many Android devices have several kinds of exte