4

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.

Pratik Butani
  • 60,504
  • 58
  • 273
  • 437

1 Answers1

3

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.

Pratik Butani
  • 60,504
  • 58
  • 273
  • 437
  • 1
    but my device does not support gujarati language... same time this kind of page showing. – Ankur Loriya Jun 13 '14 at 10:43
  • It's perfectly working in jellybean version mobile.There is no Gujarati font problem. – Pratishtha Goriya Nov 13 '14 at 06:00
  • This is not a solution at all, there is a large number of devices which doesn't support Gujarati language. Even the epic Androids like Motorola and Nexus don't support Gujarati language. – Mann Mar 21 '16 at 19:10
  • If you are seeking for an answer, kindly remove this answer as accepted to display this question as "unanswered". – Mann Mar 23 '16 at 18:14
  • @Mann That is the answer dear, There is now way to support if your device not support itself. – Pratik Butani Mar 23 '16 at 20:38