Arabic in Android

Android still does not fully support Arabic even in the latest version 2.3 and possibly not in 3.0 as well

in any way, I'm a programmer, if I want it to support the Arabic language, how do I start to fully support Arabic?

because I found that companies like Samsung and HTC are adding completely Arab support there. This means that each body, if familiar with the system, can add support.

+2
android arabic
Dec 21 '10 at 10:29
source share
4 answers

Android 3.0 Honeycomb has official Arabic support.

source: xda-developers , http://bit.ly/honeycomb-arabic , ArDroid

As for smartphones, CyanogenMod 7 has decent support for the Arabic language .

+1
Jan 28 2018-11-11T00:
source share

If you want to use Arabic on an Android device, you can use CyanogenMod 7 based on Android gingerbread (2.3), they use the Arabic shaper in their rum, which can read Arabic everywhere, and in the latest version of cyanogen they added an Arabic keyboard.

Companies like HTC and samsaung ... made a special Arabic room for devices exported to MEA, but it is not supported well, Arabic OTA updates do not find 90%.

+1
Sep 02 2018-11-11T00:
source share

I found several projects that are trying to do this, maybe you could look at them and see what exactly needs to be done

https://sites.google.com/a/ut.utm.edu/arabic-android/

0
Dec 21 '10 at
source share

You can use Alefonizer .. its lib displays Arabic characters on Android devices that do not support Arabic

here is a bunch

package org.alefon.com; import www.alefon.com.alefonizerArarbic.AlfnFixText; import www.alefon.com.alefonizerArarbic.AlfnLining; import android.app.Activity; import android.os.Bundle; import android.view.ViewTreeObserver; import android.view.ViewTreeObserver.OnGlobalLayoutListener; import android.widget.TextView; public class MainActivity extends Activity { private TextView tv; private AlfnFixText alfntx; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); alfntx = new AlfnFixText(true); tv = (TextView) findViewById(R.id.tx); String text = "قال ابن رشد:الله ليمكن ٔان يعطينا عقول ويعطينا شرأيع مخالفة لها"; tv.setText(text); ViewTreeObserver vto = tv.getViewTreeObserver(); vto.addOnGlobalLayoutListener(new OnGlobalLayoutListener() { @Override public void onGlobalLayout() { AlfnLining alflining = new AlfnLining(); String rlines = alflining.getTextLines(tv.getWidth(), tv.getPaint(), tv.getText().toString(), true); if (rlines != null) { String lli[] = rlines.split("\n"); String fn = ""; for (String st : lli) { try { st = alfntx.getFixedText(st); } catch (Exception e) { e.printStackTrace(); } fn += st + "\n"; } tv.setText(fn); } ViewTreeObserver obs = tv.getViewTreeObserver(); obs.removeGlobalOnLayoutListener(this); } }); } } 

Just remember that you will need to use a font that contains an Arabic character and OTL for the Arabic language..ie Arial ..

====== update =======

Android studio uses UTF-8 as the file encoding .. but you can change it, see screenshot:

enter image description here

Good luck

0
May 31 '13 at 10:04
source share



All Articles