Display Kannada Text in Android application
Which Android version is it?
Versions before 4 don't have proper Kannada rendering support even if you supply a font, so it shows the matras separately from the consonants.
Where are you showing this text? It may work if you try to show it in the web browser, because web browsers have their own rendering engines. Try both the stock WebKit browser and Mozilla's Firefox for Android. Depending on your device and Android version, it may or may not work.
If it works in WebKit and you need it in an app, try integrating WebKit in your app instead of using regular text display.
Another thing you can try is to render your text as an image on the server and show the user that image. It won't be perfect, but it will be readable. (That's the technique that the Opera Mini Android browser uses, last time I checked.)
And hey, kudos for trying to make it work in Kannada!
Related videos on Youtube
Ayaz Pasha 2 months
I have a requirement to display kannada text in GCM alerts sent to an android app.
I followed these tutorials Install Read / Write Indian Language Fonts on Android and How to Write & Read in Indian Regional Language Fonts on Android.
Just to brief, I did following:
- Rooted Android Device
- Installed ES File Explorer (Free download from Android Market)
- Downloaded DroidSansFallback.ttf Indic TrueType Font and Save it in SD Card
- Open ES File Explorer – In settings, Enable Root Explorer and Mount System as RW
- Copy the file from SD Card root and Paste it to /System/Fonts (Overwrite if necessary)
But I ended up displaying Kannada text like this:
Whereas, I have sent ವಿಕಿಪೀಡಿಯ Thank you! from my back end server. How to display kannada exactly same as it was sent from the back end.
Ayaz Pasha over 9 yearsAndroid version is 4 (ICS)