开发者

URDU or Arabic Support in android for emulator and device

I am developing an application which i need to add urdu language.

The problem is that, when i open this file on browser then urdu words are shown good. but these words are not shown on emulator.

for example

محبوب

this is shown same as it is on browser but when i see this word to emulator then its shown like this

م ح ب و ب

I read this post Arabic text support for Android Emulato开发者_开发百科r its seems good but it's doesn't work in my case.


Ensure you follow the post you have mentioned[ As it is from me ;) ]

Meanwhile make sure the font file(*.ttf) which has been placed under "assets" folder, supports the string which you are expecting.

Point is, find a suitable font (*.ttf) file which serves your purpose. Rest will be fine :)


Make sure you are using the emulator for Android 3 or 4. Older versions of Android did not have support for Arabic shaping.

The limitation was in the Android OS, not the emulator, so even with the new emulators, you should create virtual Andoroid 3/4 devices for this to work.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜