javirosa / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 0 forks source link

Newer Androids show up as MTP instead of a mounted drive #682

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Android 3.x and 4.x (Honeycomb and Ice Cream Sandwich/Jelly bean) devices have 
switch away from mass-storage class (MSC) transfer protocol to Media Transfer 
Protocol (MTP) connection when plugged into a host computer using USB, ODK 
Briefcase will not recognize the memory card when selecting "Pull" and then 
"Mounted SD Card".

This causes a problem since Briefcase was designed to access mounted drives.

Original issue reported on code.google.com by wbrune...@gmail.com on 8 Sep 2012 at 1:11

GoogleCodeExporter commented 9 years ago
I am trying to find a decent way to implement this for SurveyCTO, then I'm 
happy to share with the main ODK branch. However, it seems extremely 
non-trivial. Almost unbelievably, there does not appear to be a universal Java 
library for transacting via MTP. If somebody who's tagged this issue knows of a 
non-defunct API or approach, please post it here. Again, I'm willing to share 
our implementation, but so far it looks ridiculously difficult (and 
platform-specific) and so I may just require users of MTP devices to hand-copy 
to their local drives.

Original comment by chrislro...@gmail.com on 23 Jan 2013 at 2:40

GoogleCodeExporter commented 9 years ago
Thanks Chris. After a casual glance, we were equally stumped. Please do keep us 
posted.

Original comment by mitchellsundt@gmail.com on 23 Jan 2013 at 6:20