Accelerometer

  

hi there,  i am playing with cordova:

https://github.com/apache/cordova-plugin-device-motion 

and when i tried it in my Samsung Note 3, the results of x, y, z are  always constant; even if the device lies flat and facing up that according to the URL the x, y, and z values returned should be 0, 0, and 9.81.:

My questions are:

1. what do the values mean?

2. How to get the correct results?

Enclosed is my accelerometer.oml.


regards,

O


Solution

I think it is a measure of the weight felt by the device along its three axis..in Android max is 10, although gravity is 9.8. Gotcha!

Solution