incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DI Florian Hackenberger (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-411) Accelerometer API does not hide implementation differences between the platforms (iPhone / Android)
Date Thu, 29 Mar 2012 19:42:22 GMT

    [ 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

        

Mime
View raw message