Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

Create virtual devices (slave mode)

$
0
0
I need to find out a way to develop an app that creates two virtual devices on the serial port but still in usb slave mode. Here is what I need to do:

Install my app on android.
Connect my android via usb cable to a Windows CE host.
Windows CE will detect two devices:
1. USB MASS STORAGE (android app will map this to a fs image file - can be readonly)
2. Standard serial port (android app will read and write to this port to communicate to a specific app on WinCE).

Is there any APIs that helps me to do this? I can only find docs about USB HOST mode and thats not what I'm looking for.

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>