Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebView, showing blank in ICS

I am loading a local HTML document kept in assets folder into a WebView. It is showing fine in 2.3 devices but, showing blank screen in ICS + devices.

like image 219
Manjunath Avatar asked Dec 03 '25 11:12

Manjunath


1 Answers

Try using this code

webView.getSettings().setPluginsEnabled(true);
webView.getSettings().setAllowFileAccess(true);

As per my knowledge flash url do not work in ICS.

like image 197
Sagar Patil Avatar answered Dec 06 '25 03:12

Sagar Patil



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!