Hello All,
I have application that uses PhoneGap 2.7.0, jQuery Mobile 1.3, Google Maps API v3 and AdMob SDK.
I launch this application usually on Android device with OS version 4.0.1.
The problem is that, sometimes the application starts with empty black screen and no further actions are available. It happens only for 5% launches and for the other 95% it starts fine. The application uses Internet connection, but it is protected for no Internet connection error. This error occurs regardless of application startup conditions, so it is hardly reproducible.
Below I attach LogCat form field launch attempt:
06-24 18:52:21.980: D/CordovaWebView(23394): The current URL is: file:///android_asset/www/index.html
06-24 18:52:21.980: D/CordovaWebView(23394): The URL at item 0 is:file:///android_asset/www/index.html
06-24 18:52:22.100: D/DroidGap(23394): Paused the application!
06-24 18:52:22.100: D/CordovaWebView(23394): Handle the pause
06-24 18:52:22.380: D/OpenGLRenderer(23394): Flushing caches (mode 0)
06-24 18:52:22.815: D/OpenGLRenderer(23394): Flushing caches (mode 1)
06-24 18:52:22.840: D/DroidGap(23394): onDestroy()
06-24 18:52:22.840: D/CordovaWebView(23394): >>> loadUrl(javascript:try{cordova.require('cordova/channel').onDestroy.fire();}catch(e){console.log('exception firing destroy event from native');};)
06-24 18:52:22.840: D/PluginManager(23394): init()
06-24 18:52:22.850: D/CordovaWebView(23394): >>> loadUrlNow()
06-24 18:52:29.420: I/CordovaLog(24153): Changing log level to DEBUG(3)
06-24 18:52:29.425: I/CordovaLog(24153): Found preference for useBrowserHistory=true
06-24 18:52:29.425: D/CordovaLog(24153): Found preference for useBrowserHistory=true
06-24 18:52:29.425: I/CordovaLog(24153): Found preference for exit-on-suspend=false
06-24 18:52:29.425: D/CordovaLog(24153): Found preference for exit-on-suspend=false
06-24 18:52:29.425: D/DroidGap(24153): DroidGap.onCreate()
06-24 18:52:29.430: D/DroidGap(24153): Setting integer properties in DroidGap will be deprecated in 3.1 on August 2013, please use config.xml
06-24 18:52:29.485: I/webclipboard(24153): clipservice: android.sec.clipboard.ClipboardExManager@414fb5c0
06-24 18:52:29.530: D/CordovaWebView(24153): CordovaWebView is running on device made by: samsung
06-24 18:52:29.535: D/JsMessageQueue(24153): Set native->JS mode to 2
06-24 18:52:29.540: D/DroidGap(24153): DroidGap.init()
06-24 18:52:29.590: D/dalvikvm(24153): GC_FOR_ALLOC freed 131K, 3% free 8930K/9159K, paused 31ms
06-24 18:52:29.590: I/dalvikvm-heap(24153): Grow heap (frag case) to 9.934MB for 1228816-byte allocation
06-24 18:52:29.610: D/dalvikvm(24153): GC_CONCURRENT freed 3K, 3% free 10126K/10375K, paused 1ms+2ms
06-24 18:52:29.680: D/CordovaWebView(24153): DroidGap.loadUrl(file:///android_asset/www/index.html, 5000)
06-24 18:52:29.680: D/DroidGap(24153): onMessage(splashscreen,show)
06-24 18:52:29.680: D/CordovaWebView(24153): >>> loadUrl(file:///android_asset/www/index.html)
06-24 18:52:29.680: D/PluginManager(24153): init()
06-24 18:52:29.690: D/CordovaWebView(24153): >>> loadUrlNow()
06-24 18:52:29.750: D/dalvikvm(24153): DexOpt: --- BEGIN 'ads34907068.jar' (bootstrap=0) ---
06-24 18:52:29.900: D/dalvikvm(24153): GC_CONCURRENT freed 157K, 3% free 10436K/10695K, paused 2ms+7ms
06-24 18:52:31.655: D/chromium(24153): Unknown chromium error: -6
06-24 18:52:31.690: D/CordovaNetworkManager(24153): Connection Type: 3g
06-24 18:52:31.690: I/GATE(24153): <GATE-M>DEV_ACTION_COMPLETED</GATE-M>
06-24 18:52:31.835: D/chromium(24153): Unknown chromium error: -6
06-24 18:52:32.725: D/DroidGap(24153): onMessage(splashscreen,hide)
06-24 18:52:34.695: D/dalvikvm(24153): GC_CONCURRENT freed 79K, 2% free 10830K/11015K, paused 2ms+2ms
06-24 18:52:39.940: V/chromium(24153): external/chromium/net/base/bandwidth_metrics.h:96: [0624/185239:INFO:bandwidth_metrics.h(96)] Bandwidth: 374.762Kbps (avg 374.762Kbps)
Please note the “D/chromium(24153):
Unknown chromium error: -6” message, that so far is a mistary to
me.
Do you have any clue what might cause my problems?
Thanks,
ToM
--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.