Added android quirk as written by @notsure13 This closes #23
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/commit/675e17c7 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/675e17c7 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/675e17c7 Branch: refs/heads/master Commit: 675e17c7482a6dbbadfe1073447c963dff97b58b Parents: 83a3223 Author: Jesse MacFadyen <[email protected]> Authored: Fri Oct 23 17:50:47 2015 -0700 Committer: Jesse MacFadyen <[email protected]> Committed: Fri Oct 23 17:50:47 2015 -0700 ---------------------------------------------------------------------- README.md | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/675e17c7/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 7736942..30cb98e 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,11 @@ callback function. Values for X, Y, Z motion are all randomly generated in order to simulate the accelerometer. +### Android Quirks + +The accelerometer is called with the __SENSOR_DELAY_UI__ flag, which limits the maximum readout frequency to something between 20 and 60 Hz, depending on the device. Values for __period__ corresponding to higher frequencies will result in duplicate samples. + + ### iOS Quirks - iOS doesn't recognize the concept of getting the current acceleration at any given point. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
