Streets Of Boston wrote:
> Question for Google engineers:

I hope you'll settle for little ol' me.

> Since the HTC Incredible does not come with an SD-card, what is the
> return value of this call:
> 
>   Environment.getExternalStorageDirectory()

/sdcard

This has been confirmed, courtesy of Scott Webster of AndroidGuys, who
was kind enough to run a test app I tossed together to see what the
Incredible reported.

> Or is the returned File still pointing to "/sdcard" which is just in
> an unmounted state?

Yes. That aspect -- returning the same value mounted or unmounted -- is
nothing new, AFAIK. For example, Scott's test Incredible has no SD card
installed, and so getExternalStorageState() is returning MEDIA_REMOVED,
as I would expect.

So, the Incredible, by default, appears to behave like any regular
Android device, except that the samples being sent around now do not
have an SD card pre-installed. Assuming Verizon comes through with their
plans to ship a 2GB card with every device, that at least will be less
of an issue. If Verizon backpedals, everybody is in a world of hurt.

I did not attempt to test access to the big on-board flash partition
(/emmc), for fear it might screw up Scott's test device.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to