user1336049
user1336049

Reputation: 33

How to display Arabic characters using unicodes in android?

I am new to android.i am prepared one app, it support multiple languages.I want to display Arabic characters.i found one site for Unicode's,

http://www.unics.uni-hannover.de/nhtcapri/arabic-alphabet.html

I used following code for display Arabic letters,

StringBuilder sb = new StringBuilder();
         sb.append("\u0649");
         tv.setText(sb.toString());

It is working fine,but showing square box.Please help me.

Upvotes: 3

Views: 4453

Answers (2)

Chandra Sekhar
Chandra Sekhar

Reputation: 16516

Android 2.1 and Android 2.2(support) don't have Proper implementation for the Arabic font.
Android 3.x(from Honeycomb) supports Arabic completely.
Unicode Characters for Arabic you will find in this PDF
or
you can fallow the procedure given in this answer.

Upvotes: 3

waqaslam
waqaslam

Reputation: 68187

There's no native support for Arabic font till Honeycomb.

Upvotes: 0

Related Questions