开发者

Arabic Writing in Android

my开发者_运维技巧XmlContent.setText("بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ");

I am writing the above code and trying to display the text in Arabic.

but every character is being displayed separately in Android emulator.

Please help.


Complex scripts are currently not fully support by the UI toolkit. We are working on improving this.


Don't Worry we faced this on our applications but it works like a charm on the real devices (Samsung htc) I do advice work and debug directly on real device this is faster and reflects your work In final look. you may look at: https://stackoverflow.com/a/3769283/771300


Have look the below link.

Android Arabic Language

You need to use Arabic Reshaper utility

Below are the some links https://github.com/agawish/Better-Arabic-Reshaper

https://mdictionary.wordpress.com/2011/02/10/connected-arabic-characters-for-android-apps/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜