3

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.

user1336049
  • 33
  • 1
  • 5

2 Answers2

3

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.

Community
  • 1
  • 1
Chandra Sekhar
  • 16,256
  • 10
  • 67
  • 90
0

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

waqaslam
  • 67,549
  • 16
  • 165
  • 178