shoayb
shoayb

Reputation: 223

Arabic Writing in Android

myXmlContent.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.

Upvotes: 1

Views: 478

Answers (3)

user1517878
user1517878

Reputation: 41

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/

Upvotes: 0

Ahmed Aswani
Ahmed Aswani

Reputation: 8649

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

Upvotes: 0

Romain Guy
Romain Guy

Reputation: 98501

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

Upvotes: 2

Related Questions