You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Joe Bowser (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/06 22:33:59 UTC

[jira] [Resolved] (CB-213) Add orientationchange event to Android

     [ https://issues.apache.org/jira/browse/CB-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-213.
---------------------------

    Resolution: Cannot Reproduce

I can't reproduce on the Nexus S or the Galaxy Nexus.  Combined with Simon's check and Libby's check, I'm thinking that this may be an issue with the manufacturer, not a general Android issue.  Closing for now as Can Not Reproduce, since we can get this for free.
                
> 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
>             Fix For: 1.6.0
>
>
> 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