incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "trace0815@googlemail.com (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1065) App crashes after taking a picture with the camera
Date Thu, 26 Jul 2012 09:14:34 GMT

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

trace0815@googlemail.com commented on CB-1065:
----------------------------------------------

Hmm... I wish I could say that too. I tested it three times and everytime I get this in logcat:


07-26 11:08:39.397: I/webclipboard(22652): clipservice: android.sec.clipboard.ClipboardExManager@414ea840
07-26 11:08:39.422: I/CordovaLog(22652): config.xml missing, reverting to cordova.xml
07-26 11:08:39.437: I/CordovaLog(22652): Changing log level to DEBUG(3)
07-26 11:08:39.447: D/DroidGap(22652): DroidGap.init()
07-26 11:08:39.512: D/dalvikvm(22652): GC_FOR_ALLOC freed 111K, 3% free 8953K/9159K, paused
29ms
07-26 11:08:39.522: I/dalvikvm-heap(22652): Grow heap (frag case) to 9.785MB for 1048592-byte
allocation
07-26 11:08:39.557: D/dalvikvm(22652): GC_FOR_ALLOC freed 3K, 3% free 9974K/10247K, paused
35ms
07-26 11:08:39.572: D/CordovaWebView(22652): >>> loadUrl(file:///android_asset/www/index.html)
07-26 11:08:39.572: D/PluginManager(22652): init()
07-26 11:08:39.572: I/PluginManager(22652): Using plugins.xml instead of config.xml.  plugins.xml
will eventually be deprecated
07-26 11:08:39.582: D/CordovaWebView(22652): >>> loadUrlNow()
07-26 11:08:39.592: D/dalvikvm(22652): GC_CONCURRENT freed 4K, 3% free 10034K/10247K, paused
1ms+3ms
07-26 11:08:39.592: D/WML_SISO(22652): InitPasteboardJni
07-26 11:08:39.592: D/SoftKeyboardDetect(22652): Ignore this event
07-26 11:08:39.602: D/SoftKeyboardDetect(22652): Ignore this event
07-26 11:08:39.622: D/SoftKeyboardDetect(22652): Ignore this event
07-26 11:08:39.662: D/CLIPBOARD(22652): Hide Clipboard dialog at Starting input: finished
by someone else... !
07-26 11:08:39.667: D/DroidGap(22652): onMessage(onPageStarted,file:///android_asset/www/index.html)
07-26 11:08:39.727: D/chromium(22652): Unknown chromium error: -6
07-26 11:08:40.877: D/dalvikvm(22652): GC_CONCURRENT freed 120K, 3% free 10344K/10567K, paused
4ms+2ms
07-26 11:08:41.927: I/GATE(22652): <GATE-M>DEV_ACTION_COMPLETED</GATE-M>
07-26 11:08:41.932: D/Cordova(22652): onPageFinished(file:///android_asset/www/index.html)
07-26 11:08:41.932: D/CordovaWebView(22652): >>> loadUrlNow()
07-26 11:08:41.932: D/DroidGap(22652): onMessage(onNativeReady,null)
07-26 11:08:41.932: D/DroidGap(22652): onMessage(onPageFinished,file:///android_asset/www/index.html)
07-26 11:08:42.067: I/SqliteDatabaseCpp(22652): sqlite returned: error code = 14, msg = cannot
open file at line 27827 of [ed759d5a9e], db=xxx
07-26 11:08:42.072: I/SqliteDatabaseCpp(22652): sqlite returned: error code = 14, msg = os_unix.c:
open() at line 27827 - "" errno=2 path=/CachedGeoposition.db, db=xxx
07-26 11:08:42.107: D/CordovaLog(22652): Error: Status=2 Message=Class not found
07-26 11:08:42.107: D/CordovaLog(22652): file:///android_asset/www/js/lib/prod/cordova-2.0.0.js:
Line 938 : Error: Status=2 Message=Class not found
07-26 11:08:42.107: D/CordovaLog(22652): Error initializing Network Connection: Class not
found
07-26 11:08:42.107: D/CordovaLog(22652): file:///android_asset/www/js/lib/prod/cordova-2.0.0.js:
Line 5283 : Error initializing Network Connection: Class not found
07-26 11:08:42.137: D/DroidGap(22652): onMessage(spinner,stop)
07-26 11:08:42.337: E/libEGL(22652): call to OpenGL ES API with no current context (logged
once per thread)
07-26 11:08:42.337: D/ShaderProgram(22652): couldn't load the vertex shader!
07-26 11:08:42.337: E/libEGL(22652): call to OpenGL ES API with no current context (logged
once per thread)
07-26 11:08:42.337: D/ShaderProgram(22652): couldn't load the vertex shader!
07-26 11:08:42.337: E/libEGL(22652): call to OpenGL ES API with no current context (logged
once per thread)
07-26 11:08:42.337: D/ShaderProgram(22652): couldn't load the vertex shader!
07-26 11:08:42.337: E/libEGL(22652): call to OpenGL ES API with no current context (logged
once per thread)
07-26 11:08:42.337: D/ShaderProgram(22652): couldn't load the vertex shader!
07-26 11:08:42.337: E/libEGL(22652): call to OpenGL ES API with no current context (logged
once per thread)
07-26 11:08:42.337: D/ShaderProgram(22652): couldn't load the vertex shader!
07-26 11:08:43.942: D/DroidGap(22652): onMessage(spinner,stop)
07-26 11:08:45.107: V/webview(22652):  singleCursorHandlerTouchEvent -getEditableSupport 
FASLE 
07-26 11:08:45.462: I/GATE(22652): <GATE-M>DEV_ACTION_COMPLETED</GATE-M>
07-26 11:08:45.462: D/Cordova(22652): onPageFinished(file:///android_asset/www/index.html#pageBibliothek)
07-26 11:08:45.462: D/CordovaWebView(22652): >>> loadUrlNow()
07-26 11:08:45.462: D/DroidGap(22652): onMessage(onNativeReady,null)
07-26 11:08:45.462: D/DroidGap(22652): onMessage(onPageFinished,file:///android_asset/www/index.html#pageBibliothek)
07-26 11:08:46.812: V/webview(22652):  singleCursorHandlerTouchEvent -getEditableSupport 
FASLE 
07-26 11:08:47.812: D/dalvikvm(22652): GC_CONCURRENT freed 87K, 2% free 10776K/10951K, paused
1ms+3ms
07-26 11:08:48.007: I/GATE(22652): <GATE-M>DEV_ACTION_COMPLETED</GATE-M>
07-26 11:08:48.007: D/Cordova(22652): onPageFinished(file:///android_asset/www/index.html#pageDegustationStart)
07-26 11:08:48.007: D/CordovaWebView(22652): >>> loadUrlNow()
07-26 11:08:48.007: D/DroidGap(22652): onMessage(onNativeReady,null)
07-26 11:08:48.007: D/DroidGap(22652): onMessage(onPageFinished,file:///android_asset/www/index.html#pageDegustationStart)
07-26 11:08:49.137: V/webview(22652):  singleCursorHandlerTouchEvent -getEditableSupport 
FASLE 
07-26 11:08:50.292: V/webview(22652):  singleCursorHandlerTouchEvent -getEditableSupport 
FASLE 
07-26 11:08:51.737: V/webview(22652):  singleCursorHandlerTouchEvent -getEditableSupport 
FASLE 
07-26 11:08:53.012: V/webview(22652):  singleCursorHandlerTouchEvent -getEditableSupport 
FASLE 
07-26 11:08:54.597: V/webview(22652):  singleCursorHandlerTouchEvent -getEditableSupport 
FASLE 
07-26 11:08:54.847: D/CordovaWebView(22652): >>> loadUrlNow()
07-26 11:08:55.537: W/IInputConnectionWrapper(22652): showStatusIcon on inactive InputConnection
07-26 11:09:03.382: I/System.out(22652): Not a DRM File, opening notmally
07-26 11:09:03.382: I/System.out(22652): buffer returned 
07-26 11:09:03.382: I/System.out(22652): Not a DRM File, opening notmally
07-26 11:09:03.382: I/System.out(22652): buffer returned 
07-26 11:09:03.407: D/dalvikvm(22652): GC_FOR_ALLOC freed 518K, 6% free 10812K/11399K, paused
13ms
07-26 11:09:03.417: I/dalvikvm-heap(22652): Grow heap (frag case) to 18.220MB for 7990288-byte
allocation
07-26 11:09:03.452: D/dalvikvm(22652): GC_FOR_ALLOC freed 145K, 4% free 18470K/19207K, paused
16ms
07-26 11:09:03.467: W/CursorWrapperInner(22652): Cursor finalized without prior close()
07-26 11:09:03.492: D/dalvikvm(22652): GC_CONCURRENT freed <1K, 4% free 18470K/19207K,
paused 1ms+3ms
07-26 11:09:03.952: D/dalvikvm(22652): GC_FOR_ALLOC freed 32K, 5% free 18438K/19207K, paused
14ms
07-26 11:09:03.957: I/dalvikvm-heap(22652): Grow heap (frag case) to 21.046MB for 3145744-byte
allocation
07-26 11:09:03.982: D/dalvikvm(22652): GC_CONCURRENT freed <1K, 4% free 21510K/22343K,
paused 2ms+2ms
07-26 11:09:04.182: D/dalvikvm(22652): GC_FOR_ALLOC freed 8287K, 38% free 14516K/23175K, paused
11ms
07-26 11:09:04.232: D/dalvikvm(22652): GC_FOR_ALLOC freed 1053K, 36% free 15042K/23175K, paused
13ms
07-26 11:09:04.257: D/dalvikvm(22652): GC_FOR_ALLOC freed 1083K, 33% free 15664K/23175K, paused
12ms
07-26 11:09:04.307: W/CursorWrapperInner(22652): Cursor finalized without prior close()
07-26 11:09:04.307: W/CursorWrapperInner(22652): Cursor finalized without prior close()
07-26 11:09:04.307: D/dalvikvm(22652): GC_EXPLICIT freed 6316K, 53% free 10989K/23175K, paused
1ms+2ms
07-26 11:09:04.307: D/CordovaWebView(22652): >>> loadUrlNow()
07-26 11:09:04.467: D/dalvikvm(22652): GC_FOR_ALLOC freed 153K, 51% free 11358K/23175K, paused
14ms
07-26 11:09:04.482: D/dalvikvm(22652): GC_FOR_ALLOC freed 367K, 51% free 11540K/23175K, paused
12ms
07-26 11:09:04.502: D/dalvikvm(22652): GC_FOR_ALLOC freed 1285K, 53% free 11004K/23175K, paused
13ms
07-26 11:09:08.032: V/webview(22652):  singleCursorHandlerTouchEvent -getEditableSupport 
FASLE 
07-26 11:09:09.002: V/webview(22652):  singleCursorHandlerTouchEvent -getEditableSupport 
FASLE 
07-26 11:09:09.777: V/webview(22652):  singleCursorHandlerTouchEvent -getEditableSupport 
FASLE 
07-26 11:09:09.947: D/CordovaWebView(22652): >>> loadUrlNow()
07-26 11:09:10.582: W/IInputConnectionWrapper(22652): showStatusIcon on inactive InputConnection
07-26 11:09:19.372: D/DroidGap(22652): onDestroy()
07-26 11:09:19.372: D/CordovaWebView(22652): >>> loadUrlNow()
07-26 11:09:19.387: D/CordovaWebView(22652): >>> loadUrlNow()
07-26 11:09:19.392: D/DroidGap(22652): DroidGap.onCreate()
07-26 11:09:19.422: I/webclipboard(22652): clipservice: android.sec.clipboard.ClipboardExManager@414f46f0
07-26 11:09:19.422: I/CordovaLog(22652): config.xml missing, reverting to cordova.xml
07-26 11:09:19.437: D/CordovaWebView(22652): Origin to allow: http://127.0.0.1*
07-26 11:09:19.437: D/dalvikvm(22652): GC_CONCURRENT freed 1003K, 55% free 10648K/23175K,
paused 2ms+3ms
07-26 11:09:19.437: I/CordovaLog(22652): Found log level DEBUG
07-26 11:09:19.437: I/CordovaLog(22652): Changing log level to DEBUG(3)
07-26 11:09:19.442: W/CursorWrapperInner(22652): Cursor finalized without prior close()
07-26 11:09:19.442: D/DroidGap(22652): DroidGap.init()
07-26 11:09:19.447: D/CordovaWebView(22652): >>> loadUrl(file:///android_asset/www/index.html)
07-26 11:09:19.447: D/PluginManager(22652): init()
07-26 11:09:19.447: I/PluginManager(22652): Using plugins.xml instead of config.xml.  plugins.xml
will eventually be deprecated
07-26 11:09:19.447: D/CordovaWebView(22652): >>> loadUrlNow()
07-26 11:09:19.447: I/GATE(22652): <GATE-M>DEV_ACTION_COMPLETED</GATE-M>
07-26 11:09:19.452: D/DroidGap(22652): onMessage(onPageStarted,about:blank)
07-26 11:09:19.452: D/WML_SISO(22652): InitPasteboardJni
07-26 11:09:19.452: D/Cordova(22652): onPageFinished(about:blank)
07-26 11:09:19.452: D/DroidGap(22652): onMessage(onPageFinished,about:blank)
07-26 11:09:19.452: D/DroidGap(22652): onMessage(exit,null)
07-26 11:09:19.457: D/SoftKeyboardDetect(22652): Ignore this event
07-26 11:09:19.482: D/SoftKeyboardDetect(22652): Ignore this event
07-26 11:09:19.487: D/CordovaWebView(22652): >>> loadUrlNow()
07-26 11:09:19.512: D/DroidGap(22652): onMessage(onPageStarted,file:///android_asset/www/index.html)
07-26 11:09:19.512: D/SoftKeyboardDetect(22652): Ignore this event
07-26 11:09:19.692: D/chromium(22652): Unknown chromium error: -6
07-26 11:09:20.022: D/DroidGap(22652): onDestroy()
07-26 11:09:20.022: D/CordovaWebView(22652): >>> loadUrlNow()
07-26 11:09:20.022: D/CordovaWebView(22652): >>> loadUrlNow()
07-26 11:09:20.137: D/AndroidRuntime(22652): Shutting down VM
07-26 11:09:20.137: W/dalvikvm(22652): threadid=1: thread exiting with uncaught exception
(group=0x40c331f8)
07-26 11:09:20.147: E/AndroidRuntime(22652): FATAL EXCEPTION: main
07-26 11:09:20.147: E/AndroidRuntime(22652): android.view.WindowManager$BadTokenException:
Unable to add window -- token android.os.BinderProxy@414d4c00 is not valid; is your activity
running?
07-26 11:09:20.147: E/AndroidRuntime(22652): 	at android.view.ViewRootImpl.setView(ViewRootImpl.java:646)
07-26 11:09:20.147: E/AndroidRuntime(22652): 	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:301)
07-26 11:09:20.147: E/AndroidRuntime(22652): 	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:215)
07-26 11:09:20.147: E/AndroidRuntime(22652): 	at android.view.WindowManagerImpl$CompatModeWrapper.addView(WindowManagerImpl.java:140)
07-26 11:09:20.147: E/AndroidRuntime(22652): 	at android.view.Window$LocalWindowManager.addView(Window.java:537)
07-26 11:09:20.147: E/AndroidRuntime(22652): 	at android.app.Dialog.show(Dialog.java:278)
07-26 11:09:20.147: E/AndroidRuntime(22652): 	at android.app.AlertDialog$Builder.show(AlertDialog.java:932)
07-26 11:09:20.147: E/AndroidRuntime(22652): 	at org.apache.cordova.CordovaChromeClient.onJsAlert(CordovaChromeClient.java:120)
07-26 11:09:20.147: E/AndroidRuntime(22652): 	at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:544)
07-26 11:09:20.147: E/AndroidRuntime(22652): 	at android.os.Handler.dispatchMessage(Handler.java:99)
07-26 11:09:20.147: E/AndroidRuntime(22652): 	at android.os.Looper.loop(Looper.java:137)
07-26 11:09:20.147: E/AndroidRuntime(22652): 	at android.app.ActivityThread.main(ActivityThread.java:4507)
07-26 11:09:20.147: E/AndroidRuntime(22652): 	at java.lang.reflect.Method.invokeNative(Native
Method)
07-26 11:09:20.147: E/AndroidRuntime(22652): 	at java.lang.reflect.Method.invoke(Method.java:511)
07-26 11:09:20.147: E/AndroidRuntime(22652): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
07-26 11:09:20.147: E/AndroidRuntime(22652): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
07-26 11:09:20.147: E/AndroidRuntime(22652): 	at dalvik.system.NativeStart.main(Native Method)

                
> App crashes after taking a picture with the camera
> --------------------------------------------------
>
>                 Key: CB-1065
>                 URL: https://issues.apache.org/jira/browse/CB-1065
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CordovaJS
>    Affects Versions: 1.8.0, 1.8.1, 1.9.0
>         Environment: Android Smartphone with Android v. 4.0.3 using phonegap 1.9.0
>            Reporter: trace0815@googlemail.com
>            Assignee: Joe Bowser
>            Priority: Minor
>
> Hi,
> I found a bug in phonegap during tests on my android-device (Samsung Galaxy S2 with android
4.0.3 - the bug does not appear on my other test device (Samsung Galaxy S3 with Android 4.0.4):
> In my app (can only be used in portrait mode), I'm using the camera.getPicture-functionality
- after a click on the 'take a picture'-button in my app the camera app starts, the user can
take a picture, after that the camera app asks if the user wants to keep the taken picture
or discard it - so far so good. 
> When the user *takes a picture in landscape-mode everything is fine*, the taken picture
is available in the onSuccess-method.
> The problem is: If the user takes the *picture in portrait-mode and the camera-app tries
o give the picture back to my app - it crashes*, that means: onFail will not be called, both
apps (camera-app and my app) close without a message and android shows the homescreen. 
> Please find attached my code and the errorlog:
> My code:
> function onFotoSuccess(imageData) 
> {
>    $('#cameraFoto').attr({src:"data:image/jpeg;base64," + imageData});
> }
> function onFotoFail(message) 
> {
>    alert('Failed because: ' + message);
> }
> $("#fotobutton").on("click", "", function()
> {
> 	navigator.camera.getPicture(onFotoSuccess, onFotoFail, { quality : 90, 
> 	destinationType : Camera.DestinationType.DATA_URL, 
> 	sourceType : Camera.PictureSourceType.CAMERA, 
> 	allowEdit : true,
> 	encodingType: Camera.EncodingType.JPEG,
> 	targetWidth: 1024,
> 	targetHeight: 768,
> 	popoverOptions: CameraPopoverOptions,
> 	saveToPhotoAlbum: false }); 
> });
> My log - hope it helps:
> 07-06 11:16:44.213: V/webview(19169):  singleCursorHandlerTouchEvent -getEditableSupport
 FASLE 
> 07-06 11:16:44.553: I/GATE(19169): <GATE-M>DEV_ACTION_COMPLETED</GATE-M>
> 07-06 11:16:44.553: D/Cordova(19169): onPageFinished(file:///android_asset/www/index.html#pageDegustationStart)
> 07-06 11:16:44.553: D/CordovaWebView(19169): >>> loadUrlNow()
> 07-06 11:16:44.558: D/DroidGap(19169): onMessage(onNativeReady,null)
> 07-06 11:16:44.558: D/DroidGap(19169): onMessage(onPageFinished,file:///android_asset/www/index.html#pageDegustationStart)
> 07-06 11:16:47.923: D/dalvikvm(19169): GC_FOR_ALLOC freed 237K, 6% free 10361K/10951K,
paused 30ms
> 07-06 11:16:47.958: D/dalvikvm(19169): GC_FOR_ALLOC freed 3K, 5% free 10430K/10951K,
paused 20ms
> 07-06 11:16:47.988: D/dalvikvm(19169): GC_FOR_ALLOC freed 1K, 5% free 10569K/11079K,
paused 14ms
> 07-06 11:16:48.508: V/webview(19169):  singleCursorHandlerTouchEvent -getEditableSupport
 FASLE 
> 07-06 11:16:49.003: V/webview(19169):  singleCursorHandlerTouchEvent -getEditableSupport
 FASLE 
> 07-06 11:16:51.373: V/webview(19169):  singleCursorHandlerTouchEvent -getEditableSupport
 FASLE 
> 07-06 11:16:51.818: D/CordovaWebView(19169): >>> loadUrlNow()
> 07-06 11:16:52.553: W/IInputConnectionWrapper(19169): showStatusIcon on inactive InputConnection
> 07-06 11:17:00.313: D/DroidGap(19169): onDestroy()
> 07-06 11:17:00.313: D/CordovaWebView(19169): >>> loadUrlNow()
> 07-06 11:17:00.318: D/CordovaWebView(19169): >>> loadUrlNow()
> 07-06 11:17:00.338: D/DroidGap(19169): DroidGap.onCreate()
> 07-06 11:17:00.363: I/webclipboard(19169): clipservice: android.sec.clipboard.ClipboardExManager@4164fd60
> 07-06 11:17:00.368: D/CordovaWebView(19169): Origin to allow: http://127.0.0.1*
> 07-06 11:17:00.378: I/CordovaLog(19169): Found log level DEBUG
> 07-06 11:17:00.378: I/CordovaLog(19169): Changing log level to DEBUG(3)
> 07-06 11:17:00.393: D/DroidGap(19169): DroidGap.init()
> 07-06 11:17:00.393: D/CordovaWebView(19169): >>> loadUrl(file:///android_asset/www/index.html)
> 07-06 11:17:00.393: D/PluginManager(19169): init()
> 07-06 11:17:00.398: D/CordovaWebView(19169): >>> loadUrlNow()
> 07-06 11:17:00.398: D/WML_SISO(19169): InitPasteboardJni
> 07-06 11:17:00.398: D/SoftKeyboardDetect(19169): Ignore this event
> 07-06 11:17:00.428: D/SoftKeyboardDetect(19169): Ignore this event
> 07-06 11:17:00.428: W/webcore(19169): java.lang.Throwable: EventHub.removeMessages(int
what = 107) is not supported before the WebViewCore is set up.
> 07-06 11:17:00.428: W/webcore(19169): 	at android.webkit.WebViewCore$EventHub.removeMessages(WebViewCore.java:2404)
> 07-06 11:17:00.428: W/webcore(19169): 	at android.webkit.WebViewCore$EventHub.access$12300(WebViewCore.java:1180)
> 07-06 11:17:00.428: W/webcore(19169): 	at android.webkit.WebViewCore.removeMessages(WebViewCore.java:2516)
> 07-06 11:17:00.428: W/webcore(19169): 	at android.webkit.WebView.sendOurVisibleRect(WebView.java:3212)
> 07-06 11:17:00.428: W/webcore(19169): 	at android.webkit.ZoomManager.setZoomScale(ZoomManager.java:938)
> 07-06 11:17:00.428: W/webcore(19169): 	at android.webkit.ZoomManager.access$2100(ZoomManager.java:57)
> 07-06 11:17:00.428: W/webcore(19169): 	at android.webkit.ZoomManager$PostScale.run(ZoomManager.java:1407)
> 07-06 11:17:00.428: W/webcore(19169): 	at android.os.Handler.handleCallback(Handler.java:605)
> 07-06 11:17:00.428: W/webcore(19169): 	at android.os.Handler.dispatchMessage(Handler.java:92)
> 07-06 11:17:00.428: W/webcore(19169): 	at android.os.Looper.loop(Looper.java:137)
> 07-06 11:17:00.428: W/webcore(19169): 	at android.app.ActivityThread.main(ActivityThread.java:4507)
> 07-06 11:17:00.428: W/webcore(19169): 	at java.lang.reflect.Method.invokeNative(Native
Method)
> 07-06 11:17:00.428: W/webcore(19169): 	at java.lang.reflect.Method.invoke(Method.java:511)
> 07-06 11:17:00.428: W/webcore(19169): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
> 07-06 11:17:00.428: W/webcore(19169): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
> 07-06 11:17:00.428: W/webcore(19169): 	at dalvik.system.NativeStart.main(Native Method)
> 07-06 11:17:00.428: D/SoftKeyboardDetect(19169): Ignore this event
> 07-06 11:17:00.463: D/SoftKeyboardDetect(19169): Ignore this event
> 07-06 11:17:00.473: W/webcore(19169): java.lang.Throwable: EventHub.removeMessages(int
what = 107) is not supported before the WebViewCore is set up.
> 07-06 11:17:00.473: W/webcore(19169): 	at android.webkit.WebViewCore$EventHub.removeMessages(WebViewCore.java:2404)
> 07-06 11:17:00.473: W/webcore(19169): 	at android.webkit.WebViewCore$EventHub.access$12300(WebViewCore.java:1180)
> 07-06 11:17:00.473: W/webcore(19169): 	at android.webkit.WebViewCore.removeMessages(WebViewCore.java:2516)
> 07-06 11:17:00.473: W/webcore(19169): 	at android.webkit.WebView.sendOurVisibleRect(WebView.java:3212)
> 07-06 11:17:00.473: W/webcore(19169): 	at android.webkit.ZoomManager.setZoomScale(ZoomManager.java:938)
> 07-06 11:17:00.473: W/webcore(19169): 	at android.webkit.ZoomManager.access$2100(ZoomManager.java:57)
> 07-06 11:17:00.473: W/webcore(19169): 	at android.webkit.ZoomManager$PostScale.run(ZoomManager.java:1407)
> 07-06 11:17:00.473: W/webcore(19169): 	at android.os.Handler.handleCallback(Handler.java:605)
> 07-06 11:17:00.473: W/webcore(19169): 	at android.os.Handler.dispatchMessage(Handler.java:92)
> 07-06 11:17:00.473: W/webcore(19169): 	at android.os.Looper.loop(Looper.java:137)
> 07-06 11:17:00.473: W/webcore(19169): 	at android.app.ActivityThread.main(ActivityThread.java:4507)
> 07-06 11:17:00.473: W/webcore(19169): 	at java.lang.reflect.Method.invokeNative(Native
Method)
> 07-06 11:17:00.473: W/webcore(19169): 	at java.lang.reflect.Method.invoke(Method.java:511)
> 07-06 11:17:00.473: W/webcore(19169): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
> 07-06 11:17:00.473: W/webcore(19169): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
> 07-06 11:17:00.473: W/webcore(19169): 	at dalvik.system.NativeStart.main(Native Method)
> 07-06 11:17:00.513: D/DroidGap(19169): onMessage(onPageStarted,about:blank)
> 07-06 11:17:00.593: I/GATE(19169): <GATE-M>DEV_ACTION_COMPLETED</GATE-M>
> 07-06 11:17:00.593: D/Cordova(19169): onPageFinished(about:blank)
> 07-06 11:17:00.593: D/DroidGap(19169): onMessage(onPageFinished,about:blank)
> 07-06 11:17:00.593: D/DroidGap(19169): onMessage(exit,null)
> 07-06 11:17:00.638: D/DroidGap(19169): onMessage(onPageStarted,file:///android_asset/www/index.html)
> 07-06 11:17:00.638: D/CordovaWebView(19169): >>> loadUrlNow()
> 07-06 11:17:00.828: D/DroidGap(19169): onDestroy()
> 07-06 11:17:00.828: D/CordovaWebView(19169): >>> loadUrlNow()
> 07-06 11:17:00.828: D/CordovaWebView(19169): >>> loadUrlNow()
> 07-06 11:17:01.188: I/GATE(19169): <GATE-M>DEV_ACTION_COMPLETED</GATE-M>
> 07-06 11:17:01.188: D/Cordova(19169): onPageFinished(file:///android_asset/www/index.html)
> 07-06 11:17:01.193: D/CordovaWebView(19169): >>> loadUrlNow()
> 07-06 11:17:01.193: D/DroidGap(19169): onMessage(onNativeReady,null)
> 07-06 11:17:01.193: D/DroidGap(19169): onMessage(onPageFinished,file:///android_asset/www/index.html)
> 07-06 11:17:01.228: D/DroidGap(19169): onMessage(onPageStarted,about:blank)
> 07-06 11:17:01.253: I/GATE(19169): <GATE-M>DEV_ACTION_COMPLETED</GATE-M>
> 07-06 11:17:01.253: D/Cordova(19169): onPageFinished(about:blank)
> 07-06 11:17:01.253: D/DroidGap(19169): onMessage(onPageFinished,about:blank)
> 07-06 11:17:01.258: D/DroidGap(19169): onMessage(exit,null)
> 07-06 11:17:01.978: W/IInputConnectionWrapper(19169): showStatusIcon on inactive InputConnection
> 07-06 11:17:03.198: D/DroidGap(19169): onMessage(spinner,stop)
> 07-06 11:17:03.268: D/DroidGap(19169): onMessage(spinner,stop)
> Additionaly I tried it with FILE_URI but unfortunatly without success (please have a
look at:  https://groups.google.com/forum/#!msg/phonegap/O06ITzYa-lI/XXFtLyfgehYJ )
> It would be great if somebody could fix this issue... :)
> Kind regards,
> carpetempora
> -- Posted from Bugbox for Android

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