我正在打开包含古吉拉特语的WebPage,但它在
Android WebView中只显示英文单词.
那我怎么能支持古吉拉特语.
您可以在以下图片中看到差异:
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);
网页显示如下:
Android WebView显示如下:
编辑:
As i give answer of this question i am succeed but i want to finally
displayGujarati
links in unsupported Devices, How can i? Help me
for that please.
最佳答案 终于得到了解决方案:
我已经在模拟器中运行这个应用程序,这就是为什么它不显示古吉拉特语字体(可能是gujarati lang.在模拟器中不支持)但现在它完全在设备上运行.
Sometimes it happens with emulator that our application is running correctly on device but not in emulator.