You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Filip Maj (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/29 20:24:22 UTC
[jira] [Resolved] (CB-411) Accelerometer API does not hide
implementation differences between the platforms (iPhone / Android)
[ https://issues.apache.org/jira/browse/CB-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filip Maj resolved CB-411.
--------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
The accelerometer APIs on Android and iOS were standardized to return values in m/s^2 via the unified JS project (cordova-js).
Android has been using cordova-js since 1.5, and iOS since 1.6.0rc1.
This will land in 1.6.0.
> Accelerometer API does not hide implementation differences between the platforms (iPhone / Android)
> ---------------------------------------------------------------------------------------------------
>
> Key: CB-411
> URL: https://issues.apache.org/jira/browse/CB-411
> Project: Apache Callback
> Issue Type: Bug
> Components: iOS
> Affects Versions: 1.4.0
> Environment: iPhone 4.3
> Android 2.3
> Reporter: DI Florian Hackenberger
> Assignee: Shazron Abdullah
> Fix For: 1.6.0
>
>
> The accelerometer API on the iPhone reports values in units of 1G, while Android uses the metres per second squared unit. PhoneGap should convert the values to a standard format before reporting it to the API users.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira