开发者

Arabic Writing in Android

开发者 https://www.devze.com 2023-03-24 03:57 出处:网络
my开发者_运维技巧XmlContent.setText(\"بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ\");
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

精彩评论

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

关注公众号