You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Michael Brooks (JIRA)" <ji...@apache.org> on 2012/07/27 22:25:35 UTC

[jira] [Created] (CB-1152) Document AndroidManifest.xml Update to Avoid Orientation Crashes

Michael Brooks created CB-1152:
----------------------------------

             Summary: Document AndroidManifest.xml Update to Avoid Orientation Crashes
                 Key: CB-1152
                 URL: https://issues.apache.org/jira/browse/CB-1152
             Project: Apache Cordova
          Issue Type: Task
          Components: Android, Docs
    Affects Versions: 2.0.0
         Environment: /docs/en/2.0.0/guide/getting-started/android/index.md
            Reporter: Michael Brooks
            Assignee: Joe Bowser
             Fix For: 2.0.0


Recently, a bug was discovered in Android that causes Ice Cream Sandwich apps to crash when the orientation changes. This is not a bug with Apache Cordova, but instead an issue with Android's SDK.

Regardless, [~bowserj] has solved this problem with an update to the {{AndroidManifest.xml}}. The update will be included in the Apache Cordova 2.1.0 distribution, but that does not help 2.0.0 users.

Please add a documentation note to the Android Getting Started Guide on how to update the {{AndroidManifest.xml}} to avoid this issue.

Details about this issue can be found at #CB-1147

--
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-1152) Document AndroidManifest.xml Update to Avoid Orientation Crashes

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

Olivier Louvignes commented on CB-1152:
---------------------------------------

Shouldn't this docs explain how to setup a project with the bin/create&co scripts as it is way faster/easier?
                
> Document AndroidManifest.xml Update to Avoid Orientation Crashes
> ----------------------------------------------------------------
>
>                 Key: CB-1152
>                 URL: https://issues.apache.org/jira/browse/CB-1152
>             Project: Apache Cordova
>          Issue Type: Task
>          Components: Android, Docs
>    Affects Versions: 2.0.0
>         Environment: /docs/en/2.0.0/guide/getting-started/android/index.md
>            Reporter: Michael Brooks
>            Assignee: Joe Bowser
>             Fix For: 2.0.0
>
>
> Recently, a bug was discovered in Android that causes Ice Cream Sandwich apps to crash when the orientation changes. This is not a bug with Apache Cordova, but instead an issue with Android's SDK.
> Regardless, [~bowserj] has solved this problem with an update to the {{AndroidManifest.xml}}. The update will be included in the Apache Cordova 2.1.0 distribution, but that does not help 2.0.0 users.
> Please add a documentation note to the Android Getting Started Guide on how to update the {{AndroidManifest.xml}} to avoid this issue.
> Details about this issue can be found at #CB-1147

--
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-1152) Document AndroidManifest.xml Update to Avoid Orientation Crashes

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

Alex commented on CB-1152:
--------------------------

No, they have not ...
http://docs.phonegap.com/en/2.0.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android

I still see the same than before ...
it should be changed to this:

android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"

                
> Document AndroidManifest.xml Update to Avoid Orientation Crashes
> ----------------------------------------------------------------
>
>                 Key: CB-1152
>                 URL: https://issues.apache.org/jira/browse/CB-1152
>             Project: Apache Cordova
>          Issue Type: Task
>          Components: Android, Docs
>    Affects Versions: 2.0.0
>         Environment: /docs/en/2.0.0/guide/getting-started/android/index.md
>            Reporter: Michael Brooks
>            Assignee: Joe Bowser
>             Fix For: 2.0.0
>
>
> Recently, a bug was discovered in Android that causes Ice Cream Sandwich apps to crash when the orientation changes. This is not a bug with Apache Cordova, but instead an issue with Android's SDK.
> Regardless, [~bowserj] has solved this problem with an update to the {{AndroidManifest.xml}}. The update will be included in the Apache Cordova 2.1.0 distribution, but that does not help 2.0.0 users.
> Please add a documentation note to the Android Getting Started Guide on how to update the {{AndroidManifest.xml}} to avoid this issue.
> Details about this issue can be found at #CB-1147

--
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-1152) Document AndroidManifest.xml Update to Avoid Orientation Crashes

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

Olivier Louvignes commented on CB-1152:
---------------------------------------

Moreover about this specific issue, theses configs should only be added if you target 4.0 or upper. As they will be flagged as invalid below this.
You could add a comment in the manifest just below the line :

<!-- append |keyboard|screenSize|locale if you build against API >= 14 -->
                
> Document AndroidManifest.xml Update to Avoid Orientation Crashes
> ----------------------------------------------------------------
>
>                 Key: CB-1152
>                 URL: https://issues.apache.org/jira/browse/CB-1152
>             Project: Apache Cordova
>          Issue Type: Task
>          Components: Android, Docs
>    Affects Versions: 2.0.0
>         Environment: /docs/en/2.0.0/guide/getting-started/android/index.md
>            Reporter: Michael Brooks
>            Assignee: Joe Bowser
>             Fix For: 2.0.0
>
>
> Recently, a bug was discovered in Android that causes Ice Cream Sandwich apps to crash when the orientation changes. This is not a bug with Apache Cordova, but instead an issue with Android's SDK.
> Regardless, [~bowserj] has solved this problem with an update to the {{AndroidManifest.xml}}. The update will be included in the Apache Cordova 2.1.0 distribution, but that does not help 2.0.0 users.
> Please add a documentation note to the Android Getting Started Guide on how to update the {{AndroidManifest.xml}} to avoid this issue.
> Details about this issue can be found at #CB-1147

--
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-1152) Document AndroidManifest.xml Update to Avoid Orientation Crashes

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

Joe Bowser resolved CB-1152.
----------------------------

    Resolution: Fixed

Docs have been updated on edge and 2.0.0
                
> Document AndroidManifest.xml Update to Avoid Orientation Crashes
> ----------------------------------------------------------------
>
>                 Key: CB-1152
>                 URL: https://issues.apache.org/jira/browse/CB-1152
>             Project: Apache Cordova
>          Issue Type: Task
>          Components: Android, Docs
>    Affects Versions: 2.0.0
>         Environment: /docs/en/2.0.0/guide/getting-started/android/index.md
>            Reporter: Michael Brooks
>            Assignee: Joe Bowser
>             Fix For: 2.0.0
>
>
> Recently, a bug was discovered in Android that causes Ice Cream Sandwich apps to crash when the orientation changes. This is not a bug with Apache Cordova, but instead an issue with Android's SDK.
> Regardless, [~bowserj] has solved this problem with an update to the {{AndroidManifest.xml}}. The update will be included in the Apache Cordova 2.1.0 distribution, but that does not help 2.0.0 users.
> Please add a documentation note to the Android Getting Started Guide on how to update the {{AndroidManifest.xml}} to avoid this issue.
> Details about this issue can be found at #CB-1147

--
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-1152) Document AndroidManifest.xml Update to Avoid Orientation Crashes

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

Michael Brooks commented on CB-1152:
------------------------------------

[~dantart] After moving to Apache, the documentation lost it's Github service hook to auto-generate the documentation. I'll deploy the docs soon. You can find [~bowserj]'s docs commit [here|https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-docs.git;a=commit;h=b4f5ca277bdd9bb532f8c0a49a19218556c10885].

[~mgcrea] apparently this issue is only present when the user creates a project with Eclipse. For the CLI, we provide the default {{AndroidManifest.xml}}, which is already patched. On the note about CLI Guide v.s. IDE Guides, you're right. We need should be encompassing both under Getting Started and sectioning them as Using the Command-Line and Using the IDE - with heavy emphasis on the Command-Line. Once the command-line is solid, we'll probably move the IDE guides to the plugin development section.
                
> Document AndroidManifest.xml Update to Avoid Orientation Crashes
> ----------------------------------------------------------------
>
>                 Key: CB-1152
>                 URL: https://issues.apache.org/jira/browse/CB-1152
>             Project: Apache Cordova
>          Issue Type: Task
>          Components: Android, Docs
>    Affects Versions: 2.0.0
>         Environment: /docs/en/2.0.0/guide/getting-started/android/index.md
>            Reporter: Michael Brooks
>            Assignee: Joe Bowser
>             Fix For: 2.0.0
>
>
> Recently, a bug was discovered in Android that causes Ice Cream Sandwich apps to crash when the orientation changes. This is not a bug with Apache Cordova, but instead an issue with Android's SDK.
> Regardless, [~bowserj] has solved this problem with an update to the {{AndroidManifest.xml}}. The update will be included in the Apache Cordova 2.1.0 distribution, but that does not help 2.0.0 users.
> Please add a documentation note to the Android Getting Started Guide on how to update the {{AndroidManifest.xml}} to avoid this issue.
> Details about this issue can be found at #CB-1147

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