incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1147) PhoneGap 2.0 "crashing" moving mobile to horizontal with "Hello World" sample
Date Fri, 27 Jul 2012 08:27:35 GMT

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

Alex commented on CB-1147:
--------------------------

It works in Geeksphone Zero with Android Cyanogen Mod 7 (2.3.7)
                
> PhoneGap 2.0 "crashing" moving mobile to horizontal with "Hello World" sample
> -----------------------------------------------------------------------------
>
>                 Key: CB-1147
>                 URL: https://issues.apache.org/jira/browse/CB-1147
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Android 4.0.3 in Samsung Galaxy S2
> Android 4.1.1 in Galaxy Nexus
>            Reporter: Alex
>            Assignee: Joe Bowser
>            Priority: Blocker
>
> New project exactly as said in:
> http://docs.phonegap.com/en/2.0.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android
> index.html of "Hello world"
> I put the mobile in horizontal, and it "crashes".
> I put "Crashes" between quotes because, as I said, there's no "crash" alert message,
it just go to Android Home page.
> The program is still in memory, if I put in foreground the program again, I just see
the index.html with the "Hello world".
> Logcat shows this:
> 07-27 10:14:55.806: E/ActivityThread(16105): Activity com.myapp.MainActivity has leaked
IntentReceiver org.apache.cordova.Device$1@4176d570 that was originally registered here. Are
you missing a call to unregisterReceiver()?
> 07-27 10:14:55.806: E/ActivityThread(16105): android.app.IntentReceiverLeaked: Activity
com.myapp.MainActivity has leaked IntentReceiver org.apache.cordova.Device$1@4176d570 that
was originally registered here. Are you missing a call to unregisterReceiver()?
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:792)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:593)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1111)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1098)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1092)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:365)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at org.apache.cordova.Device.initTelephonyReceiver(Device.java:156)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at org.apache.cordova.Device.setContext(Device.java:62)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at org.apache.cordova.api.PluginEntry.createPlugin(PluginEntry.java:81)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at org.apache.cordova.api.PluginManager.getPlugin(PluginManager.java:255)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at org.apache.cordova.api.PluginManager.exec(PluginManager.java:182)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at org.apache.cordova.CordovaChromeClient.onJsPrompt(CordovaChromeClient.java:207)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:655)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at android.os.Handler.dispatchMessage(Handler.java:99)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at android.os.Looper.loop(Looper.java:137)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at android.app.ActivityThread.main(ActivityThread.java:4745)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at java.lang.reflect.Method.invokeNative(Native
Method)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at java.lang.reflect.Method.invoke(Method.java:511)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
> 07-27 10:14:55.806: E/ActivityThread(16105): 	at dalvik.system.NativeStart.main(Native
Method)

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