[ 
https://issues.apache.org/jira/browse/CB-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202574#comment-13202574
 ] 

Simon MacDonald commented on CB-213:
------------------------------------

On my Galaxy S phone running 2.3.4 I get the "orientationevent" fired when I 
rotate the phone with the values 0 for portrait, 90 for landscape right, -90 
for landscape left, and 180 for upside down portrait. So it looks like it works 
for some phones but we may need to duck punch this to normalize it across all 
platforms.
                
> Add orientationchange event to Android
> --------------------------------------
>
>                 Key: CB-213
>                 URL: https://issues.apache.org/jira/browse/CB-213
>             Project: Apache Callback
>          Issue Type: New Feature
>          Components: Android
>            Reporter: Ben Plowman
>            Assignee: Joe Bowser
>            Priority: Minor
>
> On iOS currently, an "orientationchange" event is fired every time the phone 
> rotation changes. This event is passed an int parameter which is 0 for 
> portrait, 90 for landscape right, -90 for landscape left, and 180 for upside 
> down portrait. We should match this behavior on Android. This functionality 
> was requested here: https://github.com/cordova/cordova-android/issues/6. I 
> have also seen other complaints a few other places asking for this.
> I am working on a patch for this that I need to refine and test a little bit 
> before it is ready to roll out.

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

        

Reply via email to