


Please make sure to read my comprehensive answer on how to tackle Tamil on Android Native apps and WebViews here in this Answer.Install Tamil Font Bamini FebruInstall Tamil Font Bamini Check out the app on how the library is utilised to convert the Unicode String to Bamini, TAB, TAM, TSCII and Anjal. There is a sample app available along with the library.

Magic happens here ) encoding conversion

TextView tv = (TextView)findViewById(R.id.textView1) Typeface tf = Typeface.createFromAsset(getAssets(),"fonts/mylai.ttf") Initialise the Typeface (assumes TSCII, Bamini, Anjal, TAB or TAM font located inside assets/fonts folder) All you have to do is simply import the library into your Android project and call the library as below. This library will help you to convert Unicode String to Bamini, TSCII, TAB, TAM and Anjal. If you hate all these manual encoding conversion then check out this libraryĪs I said in above line, if you like to change the encoding dynamically while running the application then consider using the library I wrote for Android. instead of the Unicode text provide the converted Bamini encoded script into the setText method. Now use a converter to convert Unicode font into Bamini encoding. Typeface font1 = Typeface.createFromAsset(getAssets(), "fonts/Bamini.ttf") And create TypeFace with the font Bamini and set it to the TextView. All you have to do is, download the Bamini font and place it in your assets folder. There is a work around for this solution. Reason is there are no Tamil fonts in the system. You will only see boxes if you use Unicode Tamil font in your app. Even then it had bugs and full support is provided with Jelly Bean (4.2). First of all you have to understand that there is no Tamil Language support in Android OS (except few Samsung & SE mobiles) till ICS(4.0).
