I am opening WebPage which contains Gujarati language but its showing just English words in Android WebView.

So how can i supports Gujarati words also.

You can see difference in following images:

String url = "http://www.police.gujarat.gov.in/dgp/CMS.aspx?Search=PS";
webView =  (WebView) findViewById(R.id.webView1);
webView.getSettings().setJavaScriptEnabled(true);
webView.getSettings().setBuiltInZoomControls(true);
webView.loadUrl(url);

Webpage Showing Like This:

Webpage Showing Like This

Android WebView Showing like this:

Android WebView Showing like this

Edited:

As i give answer of this question i am succeed but i want to finally display Gujarati links in unsupported Devices, How can i? Help me for that please.

有帮助吗?

解决方案

Finally got the solution:

I have run this application in emulator thats why it is not displaying Gujarati fonts (may be gujarati lang. is not supported in emulator) but now It is perfectly running on device.

Sometimes it happens with emulator that our application is running correctly on device but not in emulator.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top