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 (Created) (JIRA)" <ji...@apache.org> on 2012/04/01 02:04:28 UTC

[jira] [Created] (CB-418) Docs for Accelerometer needs updating

Docs for Accelerometer needs updating
-------------------------------------

                 Key: CB-418
                 URL: https://issues.apache.org/jira/browse/CB-418
             Project: Apache Callback
          Issue Type: Improvement
          Components: Docs
    Affects Versions: 1.5.0, 1.6.0
            Reporter: Filip Maj
            Assignee: Michael Brooks


With the introduction of Cordova-JS, the Acceleration object now returns values in meters per second squared. So at rest with the screen facing up, all devices should be returning: x=0, y=0, z=9.81. The docs currently report that Acceleration values for x, y and z range from 0 to 1.

How the Acceleration method has changed over the past few versions:

* Android has always adhered to the above: reporting values as m/s^2.
* In 1.6.0rc1, iOS now adheres to the proper return values as well. Before then, iOS x/y/z values were reported between -1 and 1.
* BlackBerry does not return values in m/s^2 and until cordova-js gets in there it will not change. Currently the values (as documented in BlackBerry documentation): "For example, if the handheld is lying flat on a table, the X and Y values are equal to 0, while Z is equal to 1000"
* Windows Phone 7 returns units in m/s^2.

--
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] [Updated] (CB-418) Docs for Accelerometer needs updating

Posted by "Shazron Abdullah (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-418:
--------------------------------

    Fix Version/s: 1.6.0
    
> Docs for Accelerometer needs updating
> -------------------------------------
>
>                 Key: CB-418
>                 URL: https://issues.apache.org/jira/browse/CB-418
>             Project: Apache Callback
>          Issue Type: Improvement
>          Components: BlackBerry, Docs, iOS
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Filip Maj
>            Assignee: Michael Brooks
>             Fix For: 1.6.0
>
>
> With the introduction of Cordova-JS, the Acceleration object now returns values in meters per second squared. So at rest with the screen facing up, all devices should be returning: x=0, y=0, z=9.81. The docs currently report that Acceleration values for x, y and z range from 0 to 1.
> How the Acceleration method has changed over the past few versions:
> * Android has always adhered to the above: reporting values as m/s^2.
> * In 1.6.0rc1, iOS now adheres to the proper return values as well. Before then, iOS x/y/z values were reported between -1 and 1.
> * BlackBerry does not return values in m/s^2 and until cordova-js gets in there it will not change. Currently the values (as documented in BlackBerry documentation): "For example, if the handheld is lying flat on a table, the X and Y values are equal to 0, while Z is equal to 1000"
> * Windows Phone 7 returns units in m/s^2.

--
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] [Updated] (CB-418) Docs for Accelerometer needs updating

Posted by "Shazron Abdullah (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-418:
--------------------------------

    Component/s: iOS
                 BlackBerry
    
> Docs for Accelerometer needs updating
> -------------------------------------
>
>                 Key: CB-418
>                 URL: https://issues.apache.org/jira/browse/CB-418
>             Project: Apache Callback
>          Issue Type: Improvement
>          Components: BlackBerry, Docs, iOS
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Filip Maj
>            Assignee: Michael Brooks
>
> With the introduction of Cordova-JS, the Acceleration object now returns values in meters per second squared. So at rest with the screen facing up, all devices should be returning: x=0, y=0, z=9.81. The docs currently report that Acceleration values for x, y and z range from 0 to 1.
> How the Acceleration method has changed over the past few versions:
> * Android has always adhered to the above: reporting values as m/s^2.
> * In 1.6.0rc1, iOS now adheres to the proper return values as well. Before then, iOS x/y/z values were reported between -1 and 1.
> * BlackBerry does not return values in m/s^2 and until cordova-js gets in there it will not change. Currently the values (as documented in BlackBerry documentation): "For example, if the handheld is lying flat on a table, the X and Y values are equal to 0, while Z is equal to 1000"
> * Windows Phone 7 returns units in m/s^2.

--
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] [Assigned] (CB-418) Docs for Accelerometer needs updating

Posted by "Shazron Abdullah (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah reassigned CB-418:
-----------------------------------

    Assignee: Shazron Abdullah  (was: Michael Brooks)
    
> Docs for Accelerometer needs updating
> -------------------------------------
>
>                 Key: CB-418
>                 URL: https://issues.apache.org/jira/browse/CB-418
>             Project: Apache Callback
>          Issue Type: Improvement
>          Components: BlackBerry, Docs, iOS
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Filip Maj
>            Assignee: Shazron Abdullah
>             Fix For: 1.6.0
>
>
> With the introduction of Cordova-JS, the Acceleration object now returns values in meters per second squared. So at rest with the screen facing up, all devices should be returning: x=0, y=0, z=9.81. The docs currently report that Acceleration values for x, y and z range from 0 to 1.
> How the Acceleration method has changed over the past few versions:
> * Android has always adhered to the above: reporting values as m/s^2.
> * In 1.6.0rc1, iOS now adheres to the proper return values as well. Before then, iOS x/y/z values were reported between -1 and 1.
> * BlackBerry does not return values in m/s^2 and until cordova-js gets in there it will not change. Currently the values (as documented in BlackBerry documentation): "For example, if the handheld is lying flat on a table, the X and Y values are equal to 0, while Z is equal to 1000"
> * Windows Phone 7 returns units in m/s^2.

--
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-418) Docs for Accelerometer needs updating

Posted by "Shazron Abdullah (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah resolved CB-418.
---------------------------------

    Resolution: Fixed

Fix commit: http://git-wip-us.apache.org/repos/asf?p=incubator-cordova-docs.git;a=commit;h=0afe03468a23bea7421adac5b90892197ca3848b
                
> Docs for Accelerometer needs updating
> -------------------------------------
>
>                 Key: CB-418
>                 URL: https://issues.apache.org/jira/browse/CB-418
>             Project: Apache Callback
>          Issue Type: Improvement
>          Components: BlackBerry, Docs, iOS
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Filip Maj
>            Assignee: Shazron Abdullah
>             Fix For: 1.6.0
>
>
> With the introduction of Cordova-JS, the Acceleration object now returns values in meters per second squared. So at rest with the screen facing up, all devices should be returning: x=0, y=0, z=9.81. The docs currently report that Acceleration values for x, y and z range from 0 to 1.
> How the Acceleration method has changed over the past few versions:
> * Android has always adhered to the above: reporting values as m/s^2.
> * In 1.6.0rc1, iOS now adheres to the proper return values as well. Before then, iOS x/y/z values were reported between -1 and 1.
> * BlackBerry does not return values in m/s^2 and until cordova-js gets in there it will not change. Currently the values (as documented in BlackBerry documentation): "For example, if the handheld is lying flat on a table, the X and Y values are equal to 0, while Z is equal to 1000"
> * Windows Phone 7 returns units in m/s^2.

--
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-418) Docs for Accelerometer needs updating

Posted by "Shazron Abdullah (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248197#comment-13248197 ] 

Shazron Abdullah commented on CB-418:
-------------------------------------

File to change: https://github.com/apache/incubator-cordova-docs/blob/master/docs/en/edge/cordova/accelerometer/acceleration/acceleration.md
                
> Docs for Accelerometer needs updating
> -------------------------------------
>
>                 Key: CB-418
>                 URL: https://issues.apache.org/jira/browse/CB-418
>             Project: Apache Callback
>          Issue Type: Improvement
>          Components: Docs
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Filip Maj
>            Assignee: Michael Brooks
>
> With the introduction of Cordova-JS, the Acceleration object now returns values in meters per second squared. So at rest with the screen facing up, all devices should be returning: x=0, y=0, z=9.81. The docs currently report that Acceleration values for x, y and z range from 0 to 1.
> How the Acceleration method has changed over the past few versions:
> * Android has always adhered to the above: reporting values as m/s^2.
> * In 1.6.0rc1, iOS now adheres to the proper return values as well. Before then, iOS x/y/z values were reported between -1 and 1.
> * BlackBerry does not return values in m/s^2 and until cordova-js gets in there it will not change. Currently the values (as documented in BlackBerry documentation): "For example, if the handheld is lying flat on a table, the X and Y values are equal to 0, while Z is equal to 1000"
> * Windows Phone 7 returns units in m/s^2.

--
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