Adding Arabic language support to AndTweet

0 views
Skip to first unread message

Sam

unread,
Jan 10, 2010, 2:26:52 AM1/10/10
to AndTweet
Hi guys ...

you got an amazing project with a lot of potential. and thank you for
allowing me to participate in the discussions.

I am a beginner with android and I am trying to add Arabic support to
AndTweet and I have made some success. I am a bit stuck and appreciate
any help

to support Arabic you need 2 things
1- a font that has the Arabic characters (most Unicode fonts do).
2- some code to ligate characters by replacing them with the right
characters.

I have done both steps and after that you use TextView.setTypeface to
replace the font and TextView.setText to replace the characters.
furthermore I was able to do both on the TweetActitvity since the
tweet_message widget was referenced and I can access it.

but for the TweetListActivity which I assume is the main list of
tweets ... I don't know how to reference the TextViews in the list so
I can apply the Typeface and fix the characters and this is where I
need your help

if you can share with me a small snippet that allows me to manipulate
the TextViews in the list I would greatly appreciate it.

Thank you

Samy Alzhrani

Reply all
Reply to author
Forward
0 new messages