Can qt mobile supports qtwebkit/webview on android, IOS
-
We wanted to develop the cross-platform application for android , IOS and BB10. our application needs webview component, does webview, blutooth is supported in qt mobile edition. I have read in the site that, webkit and bluetooth is not supported for android , IOS in qt5.2. Please help me regarding this.
thanks
Kranthi talluri -
Hi,
As per "this":http://qt-project.org/qt5/qt52#android you will need to access the native web component using "qtandroidextras":qt-project.org/doc/qt-5/qtandroidextras-index.html.
-
using qt android extras we tried to display using setcontentView() of android but is showing throwable exception as follows:
W/webview_proxy( 9549): java.lang.Throwable: Warning: A WebView method was called on thread 'Thread-845'. All WebView methods must be called on the UI thread. Future versions of WebView may not support use on other threads.
W/webview_proxy( 9549): at android.webkit.WebView.checkThread(WebView.java:1895)
W/webview_proxy( 9549): at android.webkit.WebView.ensureProviderCreated(WebView.java:1878)
W/webview_proxy( 9549): at android.webkit.WebView.setOverScrollMode(WebView.java:1935)
W/webview_proxy( 9549): at android.view.View.<init>(View.java:3346)
W/webview_proxy( 9549): at android.view.View.<init>(View.java:3422)
W/webview_proxy( 9549): at android.view.ViewGroup.<init>(ViewGroup.java:432)
W/webview_proxy( 9549): at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:52)
W/webview_proxy( 9549): at android.webkit.WebView.<init>(WebView.java:505)
W/webview_proxy( 9549): at android.webkit.WebView.<init>(WebView.java:482)
W/webview_proxy( 9549): at android.webkit.WebView.<init>(Web