Click here to Skip to main content
15,880,956 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi Friends,
I have a usb device for transmitting data. the device works perfect in windows OS. I am to use the device in Android 2.1. the Device acts as Human Interface Device.
I am using Eclipse and Android Emulator for programming. It seems the emulator work only for UI and not for external hardware.
Can you suggest how can I make Android emulator detect the usb device.

Thank you for your kind interest.
Regards
Posted

Unfortunately the emulator does not support USB connections...

According to emulator documentation, its limitations are:

No support for placing or receiving actual phone calls, but you can simulate phone calls (placed and received) through the emulator console.
No support for USB connections
No support for camera/video capture (input).
No support for device-attached headphones
No support for determining connected state
No support for determining battery charge level and AC charging state
No support for determining SD card insert/eject
No support for Bluetooth
 
Share this answer
 
I think you can try to install the Android x86 (http://www.android-x86.org/) version on virtualbox. Because this version is used on eeePC, USB port should be probably supported.
 
Share this answer
 
I'm trying to change the Android emulator to enable the USB connection.
Now, I could see the SDCARD on the Host PC(QEMU).

You can see the image of USB connection in the following site.
http://www.youtube.com/watch?v=_ODy_Mm8KWw

In the near future, I want to publish the source code as an open source.
See you soon.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



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