0

I am try to develop a android application to display malayalam news. I have database that contains ISO-8859-5 charter entity.

Example:

'çÁxÞ æØaV ææµÎÞx¢'

I want to display it in malayalam fonts. What should i do?

Amith
  • 6,818
  • 6
  • 34
  • 45
Sony Joy
  • 11
  • 4

1 Answers1

0

Hi,you should download malayam ttf file and store it in asset folder and use that in your code refer following codeTextView text = (TextView) findViewById(R.id.textview03); Typeface tf = Typeface.createFromAsset(getAssets(), "fonts/Molot.otf"); text.setTypeface(tf);

Mohan
  • 311
  • 8
  • 15
  • I try this except. I have AnjaliOldLipi.ttf. But didnt get anything. – Sony Joy Oct 29 '13 at 10:24
  • what did u get exactly during this execution – Mohan Oct 29 '13 at 10:26
  • http://stackoverflow.com/questions/16190833/how-to-set-textview-in-malayalam-fontan-indian-local-language-in-android-2-2 check this link – Mohan Oct 29 '13 at 10:29
  • http://stackoverflow.com/questions/4930896/malayalam-font-in-android check this link also – Mohan Oct 29 '13 at 10:34
  • Guys, I can view malayalam when using typeface.But my db values are in HTML code, Ex:'çÁxÞ æØaV ææµÎÞx¢' It cannot display in malayalam while using typeface. – Sony Joy Oct 29 '13 at 10:56