Tuesday, November 27, 2007

A small touching story mainly for professionals...

Peace be upon you

this story I wanna share with you, Thanks for Ahmed Abl El Hady , he is the one who sent it to me.


Enjoy it :)


A small touching story mainly for professionals...


A man came home from work late, tired and irritated, to find his 5-year old son waiting for him at the door.



SON: 'Daddy, may I ask you a question?'


DAD: 'Yeah sure, what is it?' replied the man.


SON: 'Daddy, how much do you make an hour?'


DAD: 'That's none of your business. Why do you ask such a thing?'
the man said angrily.


SON: 'I just want to know. Please tell me, how much do you make an
hour?'


DAD: 'If you must know, I make Rs.100 an hour.'


SON: 'Oh,' the little boy replied, with his head down.


SON: 'Daddy, may I please borrow Rs.50?'


The father was furious, 'If the only reason you asked that is so you
can borrow some money to buy a silly toy or some other nonsense, then
you march yourself straight to your room and go to bed. Think about
why you are being so selfish. I work hard everyday for such this
childish behavior.'


The little boy quietly went to his room and shut the door.


The man sat down and started to get even angrier about the little
boy's questions. How dare he ask such questions only to get some
money?


After about an hour or so, the man had calmed down, and started to
think: Maybe there was something he really needed to buy with that
Rs.50 and he really didn't ask for money very often. The man went to
the door of the little boy's room and opened the door.
'Are you asleep, son?' He asked.


'No daddy, I'm awake,' replied the boy.


'I've been thinking, maybe I was too hard on you earlier' said the
man.


'It's been a long day and I took out my aggravation on you. Here's the
Rs.50 you asked for.'


The little boy sat straight up, smiling. 'Oh, thank you daddy!' He
yelled.


Then, reaching under his pillow he pulled out some crumpled up bills.
The man saw that the boy already had money, started to get angry
again. The little boy slowly counted out his money, and then looked up
at his father.


'Why do you want more money if you already have some?' the father
grumbled.


'Because I didn't have enough, but now I do,' the little boy replied.


'Daddy, I have Rs..100 now. Can I buy an hour of your time?


Please come home early tomorrow. I would like to have dinner with
you.'


The father was crushed. He put his arms around his little son, and he
begged for his forgiveness.


It's just a short reminder to all of you working so hard in life. We
should not let time slip through our fingers without having spent some
time with those who really matter to us, those close to our hearts.


Do remember to share that Rs.100 worth of your time with someone you love.





If we die tomorrow, the company that we are working for could easily replace us in a matter of days.


But the family & friends we leave behind will feel the loss for the rest of their lives. And come to think of it, we pour ourselves more into work than to our family

Monday, November 26, 2007

Once before I was in the news paper

Peace be upon you



I am going to show you something that I liked when I was little younger, I was in the newspaper because of something that I have done, of course it was application :D, actually it happens twice, once for Web navigator, and the other for web site that I have done for some practices

see a snapshot of the news paper :D




application to make it easier to navigate the web

Title of the topic on the main page of the newspaper

the main topic about the website to help student to follow the lectures from their home




this is a link for the web site http://www14.brinkster.com/mo7dra/main.asp


I hope that it's cool :D

Saturday, November 24, 2007

Java is better with Android

Peace be upon you
today I will give you something, it's not new but it is for sake of explanation,
I was insisting that C++ is better in development for mobile application, as u know that Google never release something for C++ developer to run under Android, I kept digging in this issue until I reach to something nice, it's Arm Tool chains, this allow to generate executable for the cutey Android, but unfortunately it does not have any libraries supporting Android, so the only way for me to use the ".so" libraries is through "dlopen" and "dlsym", but there is a problem, how could I know the function prototype, what is the parameter and what is the lengths , many questions starts to hit my head, so I opened my lovely tool IDA Pro, and I started to do some Reverse Engineering to the libraries, I just wanna try to play something, then I noticed something strange, I noticed , that the ".so" file that I was working on, it has the same functions name, and same form, WAIT, what is that, check the coming 2 figures


IDA Pro "keyCharacterMap", see the follower part of text, it seem like Rubbish but focus and see what is written


this is the page from Google Android help


by the way here is link for the tool chains http://www.codesourcery.com/gnu_toolchains/arm/download.html



Bluetooth Expectation


mmm, here I don't know how to start, but I will tell you what I expect, u know that the Emulator now doesn't support the bluetooth, and no one able to test his blue tooth application -by the way the bluetooth classes has some wired names , anyways u will find it under 'ord.Bluez"-, so I though that it will be cool if I reach to something about it, because most off Mobile application must has reach connectivity abilities, I found something interesting which is, there is user in the OS Users, gues what is the name ???? it is Bluetooth,



so I expect that the bluetooth will work as user, which means that Google guys will not have to care about "Security" and many things that the Linux kernel will take care off, I hope that my expectation is correct, I will be so happy that happens :D, anyways I hope that this topic is informative and helpful to you :)

tanks for your time

Ahmed Essam

Tuesday, November 20, 2007

Developing for Android under linux

Peace be upon you



I hope you all is fine and happy, Today I am going to put a simple hint that really will help developers who intend to developer something for android, first of all, you must have some experience with Linux, it is really important to help you get through some blocks you will face in the platform, then I strongly recommend that you use Linux for development, you will not like to write some Dos commands then Linux commands, :D it will be like a mess :D, anyways it is just recommendation , it's not important that I am right, also if someone find something better please go ahead and post a comment, one thing that I have noticed while I am working on the platform that it mostly previous Open source project and collected together, really it's Wow, also this SDK has some very cool tools that helps to simulate real devices VERY EASILY, not like most of Mobile development SDKs,check the snapshots and tell me what do u think, I am sorry I don't write a lot, but I am really so sick and little tired, so excuse me and pray for me to be OK











Thanks for your time

Ahmed Essam

Tuesday, November 13, 2007

The Applicability for Arabizing Android

Peace be upon you



did you hear about the new Google framework for mobile, well there is something new called Android, this thing is really cool , I recommend that you read more about it http://code.google.com/android



anyways , lets get back to out target , I was looking for something that make me able to show Arabic words on this device "right now it's Emulator", and ALLAH bless me to find away to do that, I wanna show you the sample of what I have got




as you can see

Fig.1 - show the sample without doing anything

Fig.2- show the sample after installing the Arabic font

Fig.3- show the sample with Arabic font and reshaped string

I will explain later the details of this operation and how to do it, as I am so busy delivering a very huge project I can't do anything right now, so please pray for me to have some free time, and isA I will do my best to help you all in this issue, thanks for your time

THANKS MOHAMED MOHSEN ( he told me that there is something called Android :D, which means that I am ignorant, he is really very smart guy and very knowledge rich ) again thanks to you Mohamed and I hope you have a huge progress in your career

Have a nice life :)