I'm trying to retrieve Arabic words that I stored in a text file and display them in my android application, any idea on how to display Arabic letters or words in my app? I've tried different kinds of methods like using the ArabicReshaper and this is an example of the code:
tx=(TextView)this.findViewById(R.id.tt);
try{
tx.setTypeface(Typeface.createFromAsset(getAssets(),"dejavusans.ttf"));
tx.setText(ArabicUtilities.reshape("\u0641\u0631\u0633"));//
}
but I need another way instead of using the Unicode for each Arabic letter and connecting them. Can I not write the Arabic word directly into eclipse?