getTitle, getURL, hasBack, and hasForward of AndroidBrowserComponent are still
not called on the UI thread and will cause an exception similar to this:
09-08 19:09:21.362: W/webview(10550): java.lang.Throwable: Warning: A WebView
method was called on thread 'EDT'. All WebView methods must be called on the UI
thread. Future versions of WebView may not support use on other threads.
09-08 19:09:21.362: W/webview(10550): at
android.webkit.WebView.checkThread(WebView.java:9468)
09-08 19:09:21.362: W/webview(10550): at
android.webkit.WebView.getTitle(WebView.java:3198)
09-08 19:09:21.362: W/webview(10550): at
com.codename1.impl.android.AndroidImplementation$AndroidBrowserComponent.getTitl
e(Unknown Source)
09-08 19:09:21.362: W/webview(10550): at
com.codename1.impl.android.AndroidImplementation.getBrowserTitle(Unknown Source)
09-08 19:09:21.362: W/webview(10550): at
com.codename1.ui.BrowserComponent.getTitle(Unknown Source)
09-08 19:09:21.362: W/webview(10550): at
com.tspx.tvportal.ui.form.SettingsForm$2$1.run(SettingsForm.java:103)
09-08 19:09:21.362: W/webview(10550): at
com.codename1.ui.Display.processSerialCalls(Unknown Source)
09-08 19:09:21.362: W/webview(10550): at
com.codename1.ui.Display.edtLoopImpl(Unknown Source)
09-08 19:09:21.362: W/webview(10550): at
com.codename1.ui.Display.mainEDTLoop(Unknown Source)
09-08 19:09:21.362: W/webview(10550): at
com.codename1.ui.RunnableWrapper.run(Unknown Source)
09-08 19:09:21.362: W/webview(10550): at
com.codename1.impl.CodenameOneThread.run(Unknown Source)
Original issue reported on code.google.com by Ian.Te...@gmail.com on 9 Sep 2012 at 12:11
Original issue reported on code.google.com by
Ian.Te...@gmail.com
on 9 Sep 2012 at 12:11