On Tuesday, July 12, 2011 4:05:43 PM UTC+2, avrono wrote:
Does anyone know if there is a way to debug a usb peripheral with the
Android emulator. I am currently testing the microchip android
development kit and trying to find a way of setting up a development
environment without having to install each iteration of code on a
physical device.
Why do you feel developing on the real hardware is any slower?
I think it will be hard to attach the ADK to an emulator.
-In the ADK it is the device you attach that fulfils the usb-host role so your PC would need to act like a usb device and this is usually not possible
-The emulator is based on qemu and qemu itself and has support for usb host see:emulator -qemu -h but the shipped kernel is not compiled with usb support.
If the device also does serial or hid is might be easy but I think you need to at least recompile the emulator kernel I did not check on recent releases (e.g. after the ADK release)
What do you want to debug by the way?
Greetings
-- I think it will be hard to attach the ADK to an emulator.
-In the ADK it is the device you attach that fulfils the usb-host role so your PC would need to act like a usb device and this is usually not possible
-The emulator is based on qemu and qemu itself and has support for usb host see:emulator -qemu -h but the shipped kernel is not compiled with usb support.
If the device also does serial or hid is might be easy but I think you need to at least recompile the emulator kernel I did not check on recent releases (e.g. after the ADK release)
What do you want to debug by the way?
Greetings
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment