Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Java Android Eclipse
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 9-Apr-11 12:23pm
J imran1.2K
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

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.
  Permalink  

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

  Print Answers RSS
0 Dnyaneshwar@Pune 719
1 CHill60 240
2 Sergey Alexandrovich Kryukov 220
3 TheRealSteveJudge 220
4 CPallini 200
0 Sergey Alexandrovich Kryukov 9,078
1 OriginalGriff 6,771
2 Peter Leow 4,282
3 Zoltán Zörgő 3,809
4 Richard MacCutchan 2,661


Advertise | Privacy | Mobile
Web03 | 2.8.150128.1 | Last Updated 27 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100