You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "DI Florian Hackenberger (Created) (JIRA)" <ji...@apache.org> on 2012/03/29 13:16:28 UTC
[jira] [Created] (CB-411) Accelerometer API does not hide
implementation differences between the platforms (iPhone / Android)
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
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
[jira] [Commented] (CB-411) Accelerometer API does not hide
implementation differences between the platforms (iPhone / Android)
Posted by "Filip Maj (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241566#comment-13241566 ]
Filip Maj commented on CB-411:
------------------------------
Certainly will do. It's on my todo list :)
I will file separate issues tagged for docs shortly! Keep an eye out for those.
> 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
[jira] [Commented] (CB-411) Accelerometer API does not hide
implementation differences between the platforms (iPhone / Android)
Posted by "DI Florian Hackenberger (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241561#comment-13241561 ]
DI Florian Hackenberger commented on CB-411:
--------------------------------------------
Great, thanks for that information! Could you please add a note to the API docs on http://docs.phonegap.com/en/1.5.0/phonegap_accelerometer_accelerometer.md.html that before 1.5 (and 1.6.0rc1 on iPhone) the values were platform specific?
> 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
[jira] [Resolved] (CB-411) Accelerometer API does not hide
implementation differences between the platforms (iPhone / Android)
Posted by "Filip Maj (Resolved) (JIRA)" <ji...@apache.org>.
[ 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