Using My Android as a USB Device -


i've been able find few posts on stackoverflow how control usb devices using android phone -- understand impossible (the android being usb device , all.)

however, happy set application communicate other computer (a linux host) usb device. (like expensive mouse...)

does have information how set android app/phone use usb connection , exchange data host computer. obviously, works @ level -- it's how eclipse , android sdk/debugger do, i'm still looking way in application.

(my current phone, btw, droid incredible.)

thanks, r.

basically you'd need install usb device driver , adb toolsuite sdk, either or reverse engineer functionality , build else.

then enable usb debugging on phone.

and can adb port forward allow application on pc connect network socket listener on phone. note connections cannot made in other direction, once connection made bidirectional.

if version of android supports tethering on usb, leverage implicitly create network between pc , phone, @ point can make connections in either direction. make sure nothing starts accidentally pumping lots of data through phone's mobile network!

(many android phones can experimentally function usb hosts, have compile new drivers kernel, install new version, , make cable provide usb power device phone cannot. lose adb on usb channel makes debugging pain)


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -