How To Use MTP-connected Devices

by Doug Gordon » Thu, 03 Mar 2011 01:48:04 GMT


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

--



Re: How To Use MTP-connected Devices

by FrankG » Thu, 03 Mar 2011 04:59:35 GMT


 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





-- 


Sponsored Links


Other Threads

1. How to completely remove application

Hi, I am developing on T-Mobile G1. How do I completely remove my
application (database, SharedPreferences etc.)? I don't have root.
Thanks.

2. Fw: [APWarnet] HP cerdas berbasiskan Google Android gerogoti pangsa pasar iPhonedan BB. Akhir dari kejayaan iPhone dan BB?

Ada tulisan dari milis sebelah..

Tulisan nya biasa mungkin, tapi list recepient nya milis kelas berat semua...  
Hehehehehe.... 


------Original Message------
From: S Roestam
Sender: apwkomi...@yahoogroups.com
To: indone...@nextbetter.net
To: qbmem...@qbheadlines.com
To: apwkomi...@yahoogroups.com
To: mastel-angg...@yahoogroups.com
To: telemat...@yahoogroups.com
To: dikmen...@yahoogroups.com
Subject: [APWarnet] HP cerdas berbasiskan Google Android gerogoti pangsa pasar 
iPhonedan BB. Akhir dari kejayaan iPhone dan BB?
Sent: Jan 13, 2010 06:09

 Kawan2 Yth, Walaupun saat ini iPhone dan BB masih menguasai pangsa pasar HP 
cerdas, namun dengan hadirnya HP berbasiskan Google OS Android telah membuat 
penurunan secara drastis pangsa pasar kedua HP cerdas sebelumnya. Ini dapat 
dilihat dari hasil survey selama 3-bulan di AS, dimana hasilnya adalah sbb: 
Pangsa pasar iPhone =32%, turun 4% dari 3-bulan sebelumnya Pangsa pasar BB = 
21%, turun 6% dari 3-bulan sebelumnya Pangsa pasar HP Motorola Droid (berbasis 
Android) =13%, naik 12% dari 3-bulan sebelumnya. Ini adalah sebuah indikasi 
bahwa dalam waktu singkat akan terjadi sebuah revolusi HP cerdas yang akan 
didominasi oleh HP cerdas berbasiskan Operating System Google Android. Oleh 
karena itu kami ingin menghimbau agar masyarakat Indonesia bisa menahan diri 
untuk tidak membeli dulu HP cerdas iPhonedan BB yang kini sedang dalam tren di 
Indonesia. Lebih baik menunggu sebentar akan hadirnya HP cerdas berbasiskan 
Operating System Google Android, seperti Motorola Droid dan Nexus One yang baru 
saja mulai dijual di tiga negara. Untuk melihat fitur HP cerdas berbasis 
Android, silahkan klik DISINI Silahkan dilihat dan ditanggapi. Wassalam, S 
Roestam http://wartaduniama ya.blogspot. com
__._,_.___ Reply to sender | Reply to group Messages in this topic (1) Recent 
Activity: New Members 4 Visit Your Group Start a New Topic -- Sponsor: 
www.apwkomitel.org www.java-cafe.net www.micronics.info Dealer/Reseller 
Ncomputing wanted - http://www.indoasiateknologi.com MARKETPLACE Going Green: 
Your Yahoo! Groups resource for green living
Switch to: Text-Only, Daily Digest Unsubscribe Terms of Use . __,_._,___ 
Sent from my BlackBerry smartphone from Sinyal Bagus XL, Nyambung Teruuusss...!

3. Fwd: ciecomp 592 FW: Ningu茅m co nta pra gente.. mas os amigos contam ! !!

4. Android 2.1, Release 1

5. Linking to Amazon MP3 Store on Nexus One

6. Android internal storage - what are the limits?

7. Extending TabHost - override focus handling