anyone help?

On 4月13日, 下午4时02分, dj <[email protected]> wrote:
> hi, allDeviceOrientationAPIhas 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 addEventListenerdeviceorientationevent, 
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to