URDU or Arabic support in android for emulator and device

I am developing an application that I need to add the Urdu language.

The problem is that when I open this file in the browser, the words Urdu show up well. but these words are not displayed on the emulator.

eg

محبوب 

it is displayed in the same way as in the browser, but when I see this word in the emulator, it is shown like this:

 م ح ب و ب 

I read this article Arabic text support for Android emulator . this seems good, but in my case it doesn't work.

+7
source share
2 answers

Make sure you follow the message you mentioned [How is it from me;)]

In the meantime, make sure that the font file (*. Ttf) that was placed in the assets folder supports the line you expect.

Point, find the appropriate font (* .ttf) file that serves your purpose. Rest will be ok :)

0
source

Make sure you use an emulator for Android 3 or 4. Older versions of Android did not have support for Arabic formatting.

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

0
source

All Articles