mellowg
mellowg

Reputation: 1786

Android: How can I make this "समोसा" appear as Hindi characters in my app?

I have these codes that are from a database. They represent Devangari (Hindi) script:

समोसा

I have a Hindi font installed on my phone.

How I get these codes to display as Hindi script in my Android app?

Upvotes: 1

Views: 455

Answers (1)

P Varga
P Varga

Reputation: 20229

for a TextView, try .setText(android.text.Html.fromHtml("समोसा")

Upvotes: 2

Related Questions