Wednesday, July 20, 2011

Re: [android-developers] Android 3.2 SD Card Support on the Motorola Xoom

On Wed, Jul 20, 2011 at 6:09 PM, Justin <tiptopdrop@gmail.com> wrote:
> Here is what I can tell from running tests with customers.
> The SD card on the Xoom mounts to "/mnt/external1".
> This mount point is read-only.

This is not supported by the Android SDK.

> My guess is that Google does not want app developers writing to the SD card
> using File I/O.

App developers should write to external storage, wherever that happens
to be on a device, as pointed to by
Environment.getExternalStorageDir() and related methods.

> Posting this to the developers blog three
> months in advance might have been nice.

There was nothing to be posted, because there was no change in the
state of Android. Writing to arbitrary mount points has never been
officially supported and probably never will be officially supported.

> My question is, how does Google want developers to write to the SD card on
> the Motorola Xoom?

You don't write to the SD card on the Motorola XOOM, until such time
as this is supported by the Android SDK, or possibly by Motorola via
some sort of SDK add-on or other instructions.

I thought that perhaps such an enhancement might show up in Android
3.2, but I did not see it. If we're lucky, the whole storage stuff
will get cleaned up in Ice Cream Sandwich.

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

Android Training...At Your Office: http://commonsware.com/training

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment