Author Archives: kamasheto

Thesis Acknowledgements

My sincerest gratitudes and appreciation go to my parents for their faith and unlimited support to me.

I am also greatly thankful to Nourhan Labeeb, whom if it weren’t for her this thesis would have not been been possible.

I also owe it to Prof. Dr. Slim Abdennhader, Eng. Marlien Edward, and DFKI for giving me the chance to work on this project.

I would like to acknowledge and thank my supervisor Ralf Biedert for sharing his expertise and giving me guidance whenever possible. Also, I would like to thank Thomas Kieninger and Jane Bensch for making us feel right at home during our stay abroad.

Finally, I would like to extend my warm gratitude to my colleagues who accompanied me, some of which had agreed to being experimented numerous times — without them it would have never been the same. I would like to specially thank Dalia Badawi, Iman Mansour, Khaled Shokry, Loai Ghoraba, Menna Amer, Mohamed Emad, Mohamed Gad, and Rana Ashraf for their humongous moral support during the tough periods of my stay.

AutoCompleteTextView Not Showing On-Screen Keyboard

Problem

When attempting to write in an AutoCompleteTextView element, the on-screen keyboard doesn’t show. After changing views and going back to the Activity that had the element, the keyboard worked as intended.

Environemt

The on-screen keyboard worked as intended on the android 1.6 emulator. However on the Samsung emulator (2.2) and a Samsung device the keyboard failed to show.

Solution

You should not requestFocus by the autocomplete element. After removing the requestFocus the autocomplete worked with the on-screen keyboard every time it got focus.

Credits: @dina_helal for reporting. Thanks!

Germany — The Experience

Kind of ironic how everyone expects there to be an experience when you travel abroad.

Why should there be “an experience”? What’s so different out there that makes it all worth the while, I wonder.

In short: nothing. (I bet a bunch of you aren’t surprised right now at me saying this, but that’s not supposed to surprise you. Read on.)

Continue reading

Setting Nameservers VS A-records

If you’ve used your personal domain on Tumblr you’d know how easy it is to set it up: you create an A-record at your domain provider, in my case GoDaddy, and tell Tumblr what your domain is. That’s it.

Aside from being dumbly easy, this configuration has always tempted me to be a tumblr user with my domain. Reason being, I could host my email MX record configuration at GoDaddy which means I ensure a better quality or uptime for my precious email records – which in plain English means I get my emails all the time.

Judging by the fact I rely a whole lot on those records to receive my emails, I kinda need to make sure that’s properly handled before settling for a specific setup.

Continue reading

لعله خيراً

كان لأحد الملوك وزير حكيم وكان الملك يقربه منه ويصطحبه معه في كل مكان. وكان كلما أصاب الملك ما يكدره قال له الوزير “لعله خيراً” فيهدأ الملك. وفي إحدى المرات قطع إصبع الملك فقال الوزير “لعله خيراً” فغضب الملك غضباً شديداً وقال ما الخير في ذلك؟! وأمر بحبس الوزير …
فقال الوزير الحكيم “لعله خيراً”
ومكث الوزير فترة طويلة في السجن.
وفي يوم خرج الملك للصيد وابتعد عن الحراس ليتعقب فريسته، فمر على قوم يعبدون صنم فقبضوا عليه ليقدموه قرباناً للصنم ولكنهم تركوه بعد أن اكتشفوا أن قربانهم إصبعه مقطوع..
فانطلق الملك فرحاً بعد أن أنقذه الله من الذبح تحت قدم تمثال لا ينفع ولا يضر وأول ما أمر به فور وصوله القصر أن أمر الحراس أن يأتوا بوزيره من السجن واعتذر له عما صنعه معه وقال أنه أدرك الآن الخير في قطع إصبعه، وحمد الله تعالى على ذلك.
ولكنه سأله عندما أمرت بسجنك قلت “لعله خيراً” فما الخير في ذلك؟
فأجابه الوزير أنه لو لم يسجنه.. لَصاحَبَه فى الصيد فكان سيقدم قرباناً بدلاً من الملك… فكان في صنع الله كل الخير.

Source