1

I'm trying to develop an application which acts as a Android USB Host however I need to know whether the Android x86 running in VirtualBox or Vmware player can be used for this purpose.

UPDATE:

If using live-android works do I have to:

  • Install a sepate USB Host driver

To be able to run this simple USB Host app:

UsbManager manager = (UsbManager) getSystemService(Context.USB_SERVICE);
...  
HashMap<String, UsbDevice> deviceList = manager.getDeviceList();
UsbDevice device = deviceList.get("deviceName");
quarks
  • 33,478
  • 73
  • 290
  • 513
  • It works with Android x86 in VirtualBox for sure. I have never used Vmware player with it before – knowbody Feb 26 '13 at 03:28
  • @ShivanRaptor Yes I tried running in Vmware player but I am not getting any response – quarks Feb 26 '13 at 03:30
  • @knowbody Did you use live-android? or something else? – quarks Feb 26 '13 at 03:31
  • @xybrek yes, live-android – knowbody Feb 26 '13 at 03:33
  • @knowbody did you have to install a separate android USB host driver or it works out of the box? I mean, if I make a simple USB Host app based on the Android developer's website it should work. Which specific live-android version did you use? – quarks Feb 26 '13 at 03:35
  • 1
    out of the box, I don't remember installing anything extra. liveandroid0.3 – knowbody Feb 26 '13 at 03:41
  • @knowbody Looks like live-android is running Android less than version 3.1 so I guess UsbManager will not work. – quarks Feb 26 '13 at 04:42

0 Answers0