Hi, At sdk level it is usually suggested that you use other means eg: bluetooth, http - tcp/ip, nfc instead of usb connection.
Regards On Feb 17, 7:19 am, FrankG <[email protected]> wrote: > Most of the devices support multiple usb modi and > you have no standard way to know which one is > currently used. IMHO many usb details are currently vendor specific. > > Their is also no sdk support for your requirement. > > To point you in a possible direction could be for standard usb mass > storage > to check the same sysfs file handle which is used in the new > vold. But to poll on a sysfs handle is not so easy. > > Good luck ! Frank > > On 13 Feb., 16:16, neohacker <[email protected]> wrote: > > > > > > > > > Hi all, > > I'm in the middle of an android app that need to check > > whether the device is connected to another system or pendrive through > > usb and if it is connected i need to send a copy of my database file > > through usb port. This sis for backing up my database. I have no idea > > how to prompt for usb connections. I searched the net. But no > > results!.Can anyone please help. Because i'm stuck here at my project. > > > Thanks in advance. -- 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

