Search This Blog

Tuesday, March 25, 2008

Arabic Android - Free Class to enable Arabic

Peace be upon you

today I have released some source code at the WM_SupportArabic My Open source project, now I have added new class, but this time not for windows mobile it is for JAVA Android developers, I hope the guys uses it and make use of it, here is link for the code
http://wm-arabic.cvs.sourceforge.net/wm-arabic/
with this code, the developer will only need to install the font that has Arabic character shapes
Thanks for your time

BR
Ahmed Essam

P.S: I didn't test the code at all, I hope it works, sorry for that but I really have no time to do that.

P.S: Thanks for NarNouri for his push to do this code,

6 comments:

Amr Ismail Gawish said...

well its a really great thing from you to share, i'll test it and give you the results as soon as possible.

Really thanks for ur work, and your copy rights are preserved whenever i used your code in any project (y)

x-axis said...

Alsalaam Alykom

I am glad to tell you the i have implemented your class and i got an Arabic Keyboard!!

But i am facing some troubles with the positions of the letters.
here you see what i mean:

http://1.bp.blogspot.com/_u-gI1uHcpKk/San0MljLSDI/AAAAAAAAAA0/V_sjFXXNVy0/s1600-h/Connected+letters.jpg

Jazak Allah kheer

Abdulla

Ahmed Essam said...

I assume that u used the middle glphy as ur default while working with the keyboard, unfortunally, I don't think such trick will work, u need to know the next and previous character, anyways, if u need any help it will be great,

I have noticed that u upload ur stuff to google code, it will be better to upload the code if u r targeting opensource community, also it will be helpful to let others chance to help u,
I will be glad to work with u in such thing

x-axis said...

Alsalaam Alykom

I wish i have taken a look at your code before, and not to be too lazy to try to understand it, and i have to admit it is well written mashalla!

i only needed to add a couple more lines and change some Chars locations and it was perfect!

i am sure you are aware of this, let me know if you want me to send you the modifications along with some suggestions to lower the search time in the GetGlphyType() function..

Thanks so much for sharing this great class with us

Peace

Ahmed Essam said...

U can enhance the class performance by sorting and use binary search in the glphy table this will decrease the amount of time taken to find the glphy.

I hope that you write in thing related to this issue to post it back to help others with there programs

anyways, I plan to do when I have some free time.

Thanks for your time.

Android app development said...

This is one of the challenging and good post.I like your blog clarity.Android is one of the first moving mobile application.Nice post.
Android app developers

There was an error in this gadget