Hi Xavier, I would be happy if you can answer few other questions of mine related to this.
I assume that there has to be some code inside the Android running on the emulator which receives these sensor readings from the real device over USB, that are injected into the Android system image by the emulator. Any idea where this code would be under Android source tree? Its documentation(http://tools.android.com/tips/hardware-emulation) also says it needs Android 4.0 System image version 2. Does that mean only this version of Android OS has the specific code to fetch the sensor readings from a real device over USB? If so, can you please give some information about where to look at for these code under Android source tree. Also, can any sensor-based application on the emulator use these sensor readings just like they would do on a real device? For example, let's say we are emulating accelerometer sensor. So, can an accelerometer sensor-based application running on the emulator use these real accelerometer sensor readings exactly as it would on a real device? I understand that you said there's hasn't been much work on this in the recent past. But I didn't ask the above question and hence for the completeness sake, I had to ask the above questions. Thank you for your time. Cheers, Raghavan On Friday, December 6, 2013 6:17:33 PM UTC-5, Xavier Ducrohet wrote: > > We haven't done any work on this in a long time. > > It's usb only, sensor will have a little bit of delay i supposed, but we > haven't measured anything. It only emulate accelerometer and compass. > > > On Wed, Dec 4, 2013 at 11:24 AM, Enthusiast <[email protected]<javascript:> > > wrote: > >> >> Can I expect a reply for this? >> >> Thanks. >> >> On Monday, December 2, 2013 3:55:16 AM UTC-5, Enthusiast wrote: >>> >>> <http://stackoverflow.com/questions/20313195/sensor-emulation-sdkcontrollersensor-android#> >>> >>> >>> This is regarding SdkControllerSensor - http://tools.android.com/ >>> recent/sensoremulation, from Android SDK. >>> >>> As I don't see any updates in http://tools.android.com/ >>> recent/sensoremulation beyond Dec 13, 2011, 2:20 PM, I would be >>> interested in answers for the below questions. I have contacted the >>> respective developers as well and have asked these question in their google >>> discussion group as well. But, I would like to know some information about >>> this tool. >>> >>> 1. How updated is it? Does it work with the latest Android releases, >>> at least Android JB 4.3? >>> 2. How reliable is it? How stable is it? >>> 3. Does it emulate all the sensors that any Android device will have? >>> 4. How fast is the emulation - how fast the real device sensor >>> readings are being sent from the device to the emulator? >>> 5. How consistent and accurate are the readings? >>> 6. Is the emulation real-time? >>> 7. Is there any support for wireless mode like over the network >>> instead of USB connectivity? >>> 8. Does it work for x86 versions of Android as well? >>> 9. How efficient is the emulation? >>> >>> Thank you for your time. >>> >>> Cheers. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "adt-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Xavier Ducrohet > Android SDK Tech Lead > Google Inc. > http://developer.android.com | http://tools.android.com > > Please do not send me questions directly. Thanks! > -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
