Click here to Skip to main content
15,894,017 members

Android emulator, using of usbip

Member 10020016 asked:

Open original thread
Hello,

I'm working about a solution to communicate between an usb device ( a Zigbee dongle recognize as ttyACM0 ) and the android emulator.
I know with the SDK version of the emulator it is impossible, so I explored different solutions.
The first one is to add the usb driver in the goldfish kernel and in the emulator. But this solution seems to be difficult and longer to develop.

An other solution is to use the TCP/IP connexion between the host pc and the emulator. With a daemon on the host pc, I can redirect data from ttyACM0 to the emulator by sockets.

To use this connexion and see an usb device in the emulator, i wonder if it was possible to adapt usbip project. If any one with the knowledge on this stuff, please suggest.

Thank's for your help.

Mikael
Tags: Mobile Apps (Android), USB

Plain Text
ASM
ASP
ASP.NET
BASIC
BAT
C#
C++
COBOL
CoffeeScript
CSS
Dart
dbase
F#
FORTRAN
HTML
Java
Javascript
Kotlin
Lua
MIDL
MSIL
ObjectiveC
Pascal
PERL
PHP
PowerShell
Python
Razor
Ruby
Scala
Shell
SLN
SQL
Swift
T4
Terminal
TypeScript
VB
VBScript
XML
YAML

Preview



When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  4. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the http://www.codeproject.com/info/cpol10.aspx.



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900