Wednesday, March 2, 2011

[android-developers] Re: How To Use MTP-connected Devices

Hi Doug,

I can imagine that this will be more an more a problem for
applications
like yours : You cannot know in which usb mode the target device is
currently,
as this is highly vendor/manufacturer specific. You would also run
into trouble
if the user will use pictbridge. And you also not able to trigger a
mode change
because the interface to this is also specific for the manufacturer.

Would be interessted to know whether XOOM only supports MTP, but --
how far I understood Dianne in the past -- it must be at least MTP
+ADB,
otherwise Android Market will not work ?

Good luck !

Frank


On 2 Mrz., 18:48, Doug Gordon <gordo...@gmail.com> wrote:
> My app currently requires the user to manually copy certain files from
> their PC to their USB-mounted Android device where my app can open them
> and do its thing. But I'm already running into issues with users'
> devices that want to mount in this "MTP" mode, and I hear that the Xoom
> *only* supports MTP, etc.
>
> So how can MTP be used to transfer files to the device that don't really
> fit into the "Media files" category, and how do I locate the directory
> from my app? What do getExternalStorageDirectory and getExternalFilesDir
> return for a device like the Xoom?
>
> Doug Gordon
> GHCS Software

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate