because you Kare to learn!

Dear all,
Sorry for making you wait all this time, but I dont really have time, and some of my attempts to merge my work with some people failed.
So I thought of doing it the right way, and allow people to share the experience with me, and take advantage of the Arabic Reshaper, so I’m gonna put it on github and share the source code to whom it may concern!
And i’m gonna release my latest updated application, which still has some bugs, but I hope you can forgive me with that.
Update:The project has come to live, check out this link all http://bar.amr-gawish.com/
42 Responses to Arabic Reshaper goes open source, codename “BAR=Better Arabic Reshaper”
Arabic SMS version 1.5 - kBLOG
June 2nd, 2009 at 2:33 am
[...] Update: Find the new news about the Android Application in here [...]
Aman
June 2nd, 2009 at 6:53 pm
That’s very kind and brave of you to do that. Thanks.
Locales are being developed for android and yet no sign for Arabic. No programmers are participating in Arabizing Android. I am
agawish
June 2nd, 2009 at 8:01 pm
Thanks Aman, Its just I’m not really free to complete it, so it’s better to share it and make a better piece of software.
Soon the link will be available with some demonstration and a documentation of the code inshaAllah.
Ali Said
June 11th, 2009 at 12:44 am
Hi Amr,
how can install that BAR to my android handset ?
many thanks for the great work.
agawish
June 11th, 2009 at 3:19 am
Dear Ali,
The BAR project is targeted for development, for anyone who want use this Library in his application, but its not targeted to a standalone application.
But i’ll try soon to give some example, of how to embed the functionality in an application.
Aman
June 12th, 2009 at 3:08 am
Hi again Amr,
I just wanted to ask you a question. If you were able to add the reshaper to the system, where and how would you do that?
The reason for my question is that there are custom builds of the android platform like Haykuro’s ROM which supports Chinese by default now.
http://code.google.com/p/sapphire-port-dream/
Of course, Chinese only needs supporting fonts unlike Arabic.
Do you think you can figure that out?
Aman
June 12th, 2009 at 4:48 pm
I think you should write in details what it needs to make it fully support Arabic
Last time I checked, the only letter that is not reshaped properly is the ئ which should appear as ئـ when there is something after it but not before. also, it trades non arabic characters as Arabic characters meaning that it if there is no space between / and سلام it will show it ـسلام
Is there something else missing?
agawish
June 13th, 2009 at 3:40 am
Well I’ll check the first problem, but the second problem, should be fixed by now already.
agawish
June 13th, 2009 at 3:52 am
@Aman’s First post, well Aman, I dont think it’ll be hard to find, but the problem it would cost a whole new operating system to add, to support Arabic native.
But anyway If i found it, I might do and upload this build online on the project.
Aman
June 14th, 2009 at 12:21 am
I don’t think it is going to be a problem since there are already some builds that are available for people to use like JF. He always publish a build environment file for developers.
http://jf.andblogs.net/2009/05/24/jfv151-images-are-out/
these build are easy to modify and build.
agawish
June 14th, 2009 at 1:38 am
Well, Its a really good news, I could integrate the Arabic Reshaper into one of those builds and make it Support Arabic Natively, Although it’ll be hard to test something like that!
If you have any suggestion concerning that, or if you can help in this stuff, It’ll be much appreciated
Aman
June 14th, 2009 at 10:07 pm
I am already working in a custom build with Islamic theme. What I done till now is a startup screen with بسم الله الرحمن الرحيم
I integrated Arabic supporting fonts. and I have two android phones use for testing. An ADP1 and G1. If you need anything more, tell me and I will see if I have the skills to do or not.
agawish
June 15th, 2009 at 12:56 am
Well, that is a great news, why don’t you put this up, and share it, maybe our collaboration will make something beautiful
Unfortunately I don’t have any G1 devices to test on, so I need a software to do that for me!
Aman
June 17th, 2009 at 4:09 am
Sorry I was kinda busy for the last two days. I just came from a vacation and had to take care of some stuff.
Anyway, I don’t know if this help but I am certain of two ways you can run android in your PC. Either by building it or installing an image of it on virtualbox
http://source.android.com/download
http://dev.eoghanconway.com/android-in-virtualbox
I will ask and see if there is an other way. check this forum:
http://forum.xda-developers.com/forumdisplay.php?f=448
The most popular builds came out from there
Aman
June 17th, 2009 at 4:14 am
I will upload everything when I finish. I am thinking of starting a Google page just for that. I have some old stuff people may consider it useful. Like the Arabic-supporting fonts and how to add them using Terminal. I also created an update.zip file that changes the fonts automatically. But you know, all of that needs ROOT access!
agawish
June 18th, 2009 at 7:22 pm
I’ll check those link, and If possible, I’ll try it and make an Integrated version myself.
I’d like you to consider trying github its a great Subversion system and its way better than google, and more social coding that google.
And of course don’t hesitate to share that links when you do.
Aman
June 25th, 2009 at 6:24 am
Salam,
I just wanted to tell you that I am still working on it. I have one problem:
I tried Arabizing The Browser and I found a weird issue. The letters are connected but words and sentences are reversed. For example: السلام عليكم becomes مكيلع مالسلا
As for Android, I found something good for you, an android live CD!
Here is the link: I tried it on my virtual machine and it is working!!
Here is the link:
http://code.google.com/p/live-android/
They will also publish a new verson soon.
Aman
June 27th, 2009 at 2:53 am
Don’t allow this post. Just wanted to ask you to contact me via email:
aman.amn@gmail.com
Aman
June 27th, 2009 at 3:25 am
I forgot to send you this link:
http://honeypod.blogspot.com/2007/12/compile-android-kernel-from-source.html
This link describe how to compile android kernel and run it with the emulator (only in Linux)
You will still need to use Windows to sign your files and that’s what made me install Windows on virtual machine just to sign the files and make my custom build. But with this. You will be able to test your kernel without an actual device.
vikram
July 1st, 2009 at 7:55 am
Hey guys nice job, I too am trying to support RTL languages but I kinda hit a road block, in my case im trying to support Urdu, I’ve placed my font file(somefont.ttf) under assets/fonts just as u have done, however when i try to put some text into the TextView the application crashes…Am i doing some thing wrong, kindly correct me if I am wrong some where.
agawish
July 9th, 2009 at 12:27 am
@vikram please specify the code you used to achieve this!
@aman really really really great efforts man, I’ll use it all to check and test my apps from now on, and even If possible to help you out, I’ll be a good assistant inshaAllah
Rajab
July 26th, 2009 at 1:20 pm
Assalamu3laicom:
Thanks alot for the great effort you made for helping the Arabic Android users , i have just bought the amazing HTC Magic and the only thing imissed in this phone is the Arabic language , i have already installed the Arabic keyboard found in the market but it doesn’t work could please advise me on getting that done?
Thanks again in advance & keep the good job
Rajab Taleb
agawish
July 26th, 2009 at 3:02 pm
Rajab, I dont know about HTC magic but it supposed to be working normally
Nas
July 28th, 2009 at 8:44 pm
Hi,
I’ve found many reshape errors in the actual output and also a one line bug in the reshaper, line 355. Could you please email me so I can tell you about the bugs, and maybe work together to improve the reshaper.
I have a very large XML file full of Arabic text, and so it is easy to visually compare it with what the Android reshapes it as.
Thanks.
rehab
July 31st, 2009 at 1:29 pm
asslamo alikom
its realy great job
i want to say that we work now on this project “arabization of android” as a graduation project and the reshaper class was very useful for us thanks alot for making it open source and in shaa allah we will make it open source and share it when we finish it
we just begin with register the arabic font in the system
and ya you have to install linux to get the source code of android and build it and u must have about 20 giga driver to install linux and android source code and build it
after that u will be able to edit the source code and test your work
this is the link to install the android source code
http://source.android.com/download
good luck to all
rehab
rehab
July 31st, 2009 at 1:34 pm
asslamo alikom
i want to ask if there is a way to access the sms messges with in application, becuse i tried too much but i could not do any thing till now, can you help me in that
thanks alot
rehab
rajab
July 31st, 2009 at 5:18 pm
agawish, i managed to get it work on my HTC magic Android but still need some fixes espiecialy when thw text mixed with numbers or in a long text , it shows an error massage in some text.
please keep the good job and waitin g for the final sofware.
Rajab
mhd
July 31st, 2009 at 9:48 pm
I have t-mobile G1 1.5 unfortunately my phone didn’t support the Arabic language! And have seen a video posted by you here shows that the Arabic language included in g1 phone, so is it an application I can download it? And from where can get it?
I’ll highly appreciate your help for this issue.
If this come with the phone itself , and no way to do so, what about if I want just read the Arabic letters while browsing internet , or reading my Arabic SMS because it comes out like squires only?
Your help is urgently needed
Thank you in advance.
Dr. Mhd
pradeep
August 4th, 2009 at 10:12 am
I am working on localization of Urdu. I was looking for Reshaper similar to that of Arabic-Reshaper( a great job). Can I get any help regarding the same?
agawish
August 4th, 2009 at 10:18 am
I dont know If I can be much of a help, but I’ll search and update you.
Rashed Lootah
September 7th, 2009 at 2:24 am
Well im thinking of temp solution, what i really need is the web browser the msgs are fine for now, so why dont we modify the source code of the browser or we can use webview in android keep the fonts in the assets and then apply the reshaper somehow, maybe by storing the html locally then modify the arabic text by connecting it. im not sure if what im saying in the right track.
Bashar
September 18th, 2009 at 5:13 am
how to enable it on HTC Hero for example? any instructions?
thank you
Abdul
October 7th, 2009 at 7:17 pm
I have mytouch 3G, and I’m using MacBook. How do I install Arabic-Reshaper?
Thank you very much for such an effort.
salahaldin
November 22nd, 2009 at 6:05 am
what is about browser in arabic
agawish
December 14th, 2009 at 3:07 am
Dear All, sorry for making you wait all this long.
I’m so sorry about that, I’ve been extremely busy in work, and I’d like to inform you that I’ll be more active on regular basis from now on.
I’ll be working on a new version of Arabic SMS Reader, and I’ll try to support the new Mobile devices.
The working on Arabization of the whole system is done be Aman, you can find all the information you need from here
https://sites.google.com/a/ut.utm.edu/arabic-android/
unfortunately that google releases so many version of their android, so It’ll be hard to follow, but inshaAllah you will something good soon
Thanks for your patience all
Hamid
December 29th, 2009 at 2:37 am
Glad to see you have more time to work on this project. I have a Droid (running Android 2.0) and can’t wait to see the Arabic support on it.
thanks for your efforts.
jacket
January 6th, 2010 at 9:26 am
hi,
do you know where I can download the TTF font file for connected arabic characters?
Currently, the arabic font file only has deattached arabic form only.
so I can’t see arabic character connected in my phone.
Any idea?
agawish
January 6th, 2010 at 2:25 pm
You will find this font in the regular windows / Mac fonts folder
Just grab whatever you like to use, and it should have an Arabic character representation, but connection characters doesn’t depend on font only, but It has to be made by hand.
Saleh
January 16th, 2010 at 3:23 pm
Thanks guys for your efforts and time..
well, I know that Aman and agawish are great developers… but the thing is that you speak a little pit of jargons, which is not understood by normal and unexperienced programming languages users :)..
plz make it more simple…
I really appreciate your efforts in making Arabic lang. alive for Android, but I need from you to answer few questions if you dont mind of course..
1. agawish you have said that connected Arabic characters has to be made by hand, so what is the process please..
If you dont mind step by step to make things clear to us who are not good with IT stuff..
Thanks for your time
agawish
January 16th, 2010 at 4:04 pm
Sure Saleh, I’ll explain it in a simple form.
First you need to make the font understand the Arabic letters instead of making it squares, so that why we put a custom font in our applications to read those Arabic letters, but the problem remains Yes its Arabic letters indeed, but they are not connected!
To connect them you have to actually know how many shapes the letter have, for example the “ل” character has 4 positions, like the following:
“ل” “لـ” “ـلـ” “ـل”
so you have to know in which position you should represent this “ل” if its a standalone or first of word, or end of word or in the middle of a word!
So we make a big matrix with the letter and its positions and shapes, and whenever I find “ل” in the middle, I replace it with “ـلـ” and so on with the rest of letters.
I hope that gives you a little brief on what was done.
Ofcourse there are more sophisticated scenarios like “لا” and “الله”
I hope I can get a hand to cover it all inshaAllah, and I recently added support to “لا” to my codebase
Masoud
January 30th, 2010 at 5:59 pm
Thanks for Arabic Reshaper class,
It works great with normal text, but when I put Harakah like Fatha, Kasra and so on, again the characters appear separate. This is necessary for Quranic text. Can you help me about that?
Thanks
Micho
February 22nd, 2010 at 12:42 am
thanks a lot for your Software, But I’m new in android phones, Can you tell me how to install it on my Android
by the way my mobile is T-mobile my touch 3G
thanks in advance