PDA

View Full Version : Android Webview blank page



mchopra1980
6 May 2012, 3:28 AM
Dear all,

I am trying to call my sencha app within an android webview according to the tutorial ( http://developer.android.com/reference/android/webkit/WebView.html). I set the layout, added the permission (INTERNET), activated javascript and tried to load the URL but what I receive is a blank page.

Does anybody have a working example using sencha, android...? really desperate...

thanks

mitchellsimoens
9 May 2012, 6:54 AM
Did you do a build before trying it? Did all your classes make it in the build?

mchopra1980
9 May 2012, 11:16 PM
I solved my problem, as my android device is a 4+ google has a bug ( http://code.google.com/p/android/issues/detail?id=17535 - Comment 100 for the workaround).

But not happy with that workaround as it restricts me to devices with android 4 and I needed to deactivate the localstorage in my native app. is there a solution for this?