hi, all DeviceOrientation API has been impremented in Android 4.0. But i can't use javascript to get right data form Orientation Senor. Accelerometer Sensor and MagneticField Sensor are registered in DeviceOrientationService.java when i addEventListener deviceorientation event, so I think the data which javascript get is not orientation sensor data. Anyone who can tell me why? javascript code: window.addEventListener('deviceorientation', function(event){//process orientation sensor data}, false);
thanks -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en