Android 2.2 webview not supporting Tamil font

i am developing new android application…i tried load html content in webview in 2.2 emulator but not supporting tamil font

here my code…

WebView learn2crack = (WebView)findViewById(R.id.webview);
learn2crack.getSettings().setDefaultTextEncodingName("utf-8");
learn2crack.getSettings().setJavaScriptEnabled(true);
learn2crack.loadUrl("http://www.dinamalar.com/");

thanks in advance

Tamil font in android

I developed Tamil news application in android version 2.3.3. Tamil font properly developed in android version 4.0+ only.I want to display in all version of android mobile.I tried with some tamil fonts



Android Tamil font between english word

I am having a TextView that has a huge text in between i have a tamil word and i know how to embedd the tamil font in seperate textview .but i need the tamil word between english word please help than

textStyle for Tamil font?

I’m already working on an Android application that displays RSS feed. My problem is that this feed has some lines in Tamil(which Android still doesn’t support) I found a font online that displays the

how to take particular character from tamil font in android

I am using Tamil font (Bamini) in my application. I can able to use Tamil font in my application like TextView text=(TextView)findViewById(R.id.text); // initialize to your textview Typeface tf = Typ

Any reference for a good free tamil font for android app

I have an android application that displays content in tamil. I understand how I can display tamil fonts in my application by adding a font. My problem is, the fonts that are being used for web is no

Android : how to use Tamil font

This is my tamil html unicode string முதல் பக்க செய்திகள் I am using this code: TextView text=(TextView)findViewById(R.id.text); // initialize to your textview Typeface tf = Typeface.createFromAsse

how to use tamil font in android

this is my tamil UTF-8 unicode string /u00e0/u00ae/u009c/u00e0/u00af/u0086/u00e0/u00ae/u00a9/u00e0/u00ae/u00bf/u00e0/u00ae/u00b2/u00e0/u00ae/u00bf/u00e0/u00ae/u00af/u00e0/u00ae/u00be /u00e0/u00ae/u0

Tamil font in ios

I try to install tamil font name Bamini.ttf in xcode 4.2 and i made the specific changes in info.plist.Yet its not showing in Interface builder?can any one help me to sort out this issue?

Custom Font Not supporting in Android Device

Hi am developing One Android App in which am using Custom font .TTF file.The problem is i tested with same Branded Device with Different Build Version.the Older Version Device supporting Custom Font B

tamil unicode font text scrambles/broken in android

i need to use unicode font in android instead of bamini. I don’t want to use script to convert to & from bamini to unicode. Typeface fontface2 = Typeface.createFromAsset(this.getAssets(), fonts/

Answers

Typeface tf = Typeface.createFromAsset(getAssets(), "Bamini.ttf");    
    String tamil_string="செய்திகள்";
    //creating intance of TamilFotnUtil Class
    TamilFontUtil tfUtil = new TamilFontUtil();

   //Convert Tamil font encording using the utility.
    String tamilStringEncoded =  tfUtil.convertTamilString(tamil_string);

add below line inside the the style

@font-face {font-family: MyCustomFont; src: url("Bamini.ttf")}body {font-family: MyCustomFont, Verdana, Arial, sans-serif; font-size: medium; color: black}"

for example

<html> <head>

 <title>example</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

 <style type="text/css">@font-face {font-family: MyCustomFont; src: 

url(file:///android_asset/Bamini.ttf)}body {font-family: MyCustomFont, Verdana, Arial, 

sans-serif; font-size: medium; color: black}</head><body>

<h1>tamilStringEncoded </h1></body></html>

finally load data into webview ….