WebView with an IFRAME android -
WebView with an IFRAME android -
i want load html <iframe> within webview, don't know why, not able so.
i using next code load <iframe>
webview.loaddata("<iframe src=\"http://www.google.com\"></iframe>", "text/html", "utf-8"); here's have tried.
websettings webviewsettings = webview.getsettings(); webviewsettings.setjavascriptcanopenwindowsautomatically(true); webviewsettings.setjavascriptenabled(true); webviewsettings.setpluginsenabled(true); webviewsettings.setbuiltinzoomcontrols(true); webviewsettings.setpluginstate(pluginstate.on); i have mentioned net permission:
<uses-permission android:name="android.permission.internet" /> i have tried settings webviewclient shouldoverrideurlloading returning false.
but isn't working.
i have tried diffrent sites, i.e. sites other than, google.com.
i testing on, samsung nexus s running ics 4.0.3
this how worked out.
i noticed log cat throwing me
webkit permission issue: eventhub.removemessages(int = 107) not supported before webviewcore set up
to prepare this, had add together android:hardwareaccelerated="true" in <application> tag of manifest.
i experiencing on ics , found same issue occur post honeycomb devices.
hope help 1 out.
android iframe webview load
Comments
Post a Comment