0

I am developing app for Gujarati Blog. Blog is a mobile friendly design. So I load Blog URL to WebView.

webview1 = (WebView)findViewById(R.id.webView1);
        WebSettings webSetting = webview1.getSettings();
        webSetting.setJavaScriptEnabled(true);
        webview1.loadUrl("www.myurl.com");

Actually Yet I don't want to go with Web-service. So I use WebView for my solution.

It's working fine. But Android Lower version is not supporting Gujarati font. Is there any way to add Gujarati or Hindi font library before loading URL, Or any luck with JavaScript.

www.myurl.com is a live URL of my Blog. So I can't add any CSS changes at loading time in my Android app.

Thanks.

Mohit Raval
  • 440
  • 1
  • 6
  • 19
  • why can't you add CSS to at loading time? You have the webview reference, so you should be able to just [insert a `` using JavaScript](https://stackoverflow.com/questions/2219074/in-android-webview-am-i-able-to-modify-a-webpages-dom) that points to a webfont? – Mike 'Pomax' Kamermans May 01 '15 at 19:19
  • @Mike'Pomax'Kamermans, Can you give me a clue how to implement it ? – Mann Mar 23 '16 at 18:25
  • for obsolete Android versions? I'm afraid not- there are no clear cut instructions on making sure someone even *has* support for Gujarati let alone what the system name would be for that. – Mike 'Pomax' Kamermans Mar 23 '16 at 19:05

0 Answers0