Reputation: 33
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
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