Skip to main content

Posts

Showing posts from 2011

MeeGo 1.2 for Netbooks in Virtualbox ( Windows and Ubuntu )

These are the steps for installing MeeGo 1.2 for Netbooks in Virtualbox. These steps were tested on Ubuntu 10.04 and Windows 7 . Steps are the same on both OSs, and screenshots were taken from Ubuntu 10.04. First, you should download the latest version of MeeGo from:  https://meego.com/downloads and install Virtualbox, whether from :  https://www.virtualbox.org/wiki/Downloads  or from Ubuntu Software Center. Second, covert the extension from the downloaded MeeGo image from (*.img) to (*iso). Then, open Virtualbox and create a new machine. Make sure you indicate the machine as a Fedora Linux version, with Ram 512MB or higher (MeeGo Wiki says 1GB) and at least 5GB of disk space. Also make sure you enable the options of " Enable PAE/NX " and " Enable 3D Acceleration ". Here are screenshots of this step: Now let's start our new virtual machine. From the menu appearing, chose "Installation Only", wait ...

Read/Edit Phone Contacts Using Qt

Here I'm posting a code snippet I used to modify my contacts on both SIM card and phone memory. What this code does is that it loops over all available memories on phone and edits each number according to a criteria I set. To simplify the code, I removed the business parts and posted only the parts related to Qt Framework and the loop over the contacts.  The skeleton of the process is as follows: Get all available manager on device. In my case they where "symbian" (i.e: phone memory) and "symbiansim" (i.e: SIM card) Loop over the list of managers. For each manager, get the ids of available contacts. For each contact id, get all the available phone numbers. For each phone number, decide if it needs to be changed (the business part), or just output the number or use it however you want. A couple of flags are set to save any changes in a number/contact [*.pro] symbian:TARGET.CAPABILITY += ReadUserData WriteUserData CONFIG += mobility MOBILITY += c...

Book Review: Play Framework Cookbook

Ok, after some reading in parts of the book and touring some other parts (remember my previous entry ?), here are my notes about this book. But first I have to mention the beckground I come from: - Basically I come from a front-end development environment. - C++ is my main interest, then comes Java. - I've just started to learn Play framework and found it interesting to go deeper into. Now let's get to the review: 1- From the book intro, the author indicated that proceeding with a Play tutorial plus some web developer skills—HTML and JavaScript. So I thought it would not be that hard to get started, and it wasn't at the very beginning, then it accelerated very quickly that I had to skip more parts chapter after chapter. Maybe I needed more that some knowledge or skills, I needed the "web culture". 2- I liked how the examples were introduced along with test cases. Examples on the internet may settle with some code and leave the testing to the user, so...

To Read: Play Framework Cookbook

Today I had the opportunity to receive a softcopy of a new book:  Play Framework Cookbook  , by Alexander Reelsen, Packt Publishing. And since Play Framework has not so many books to find, It was a good opportunity I cannot miss. What is attractive in this book? From the first look, it does not require deep experience with Play Framework. You just need to follow a couple of examples ( link1 ,  link2 ) on the internet to be ready for this book which already explains some basics in the first chapter and promises to mention some basic throughout the book. Now let me start reading and give my review. If you are in a hurry to see the book from inside, here is a link to a sample chapter: ( download ) Stay tuned ...

Play Framework Tutorial

A couple of weeks ago, I attended a introductory one-hour session about Play Framework. And it was interesting as it was my first time to experience anything related to the web. So I decided to give it a try. And guess what, I could navigate inside the framework and make my first simple service within two hours (remember: zero web experience and not so much Java experience), And thought I could write about it. Why? Because I wanted a tutorial that gives me the basics without going deeps, then gives me the keywords and options to go deeper in any part, and did not find what I want, so I did it my way. Note: Even for the front-end developer, knowing the basics of web applications. Why? Imagine making an application that depends on a web service, say, BBC RRS feed). To test the application you have to make some scenarios like: service down, content with special characters, etc. So you have to create a "development environment" different from the "production environme...

Developing My First Android Game

So, this entry is less about explaining and more about showing references. To come up with this game, I was studying and playing for a while with Qt/Python/Android code because I was not intending to come up with a real product. But anyways, it appeared that moving between languages is not that hard once you got used to it. This is the very basic beginning of the game where I was learning the basics of game logic, the complete game should better go to the market that be posted as a project (sorry about that). But I guess the the coding is not much from this point. It is all about a better architecture of game objects/logic and graphics design (activity lifecycle, levels, special items, licensed graphics ... etc). And do not worry about me posting the names and graphics, these are dummy names and graphics for learning :D Here is a look at the game: Download Project: here (if you have problems with compilation, check the "target=android-10" line in "defaul...

Nokia and Operating Systems [presentation]

This is a presentation I prepared for a small session about current Nokia devices and operating systems on them. The presentation depended on talking plus viewing, but I guess it can still be somehow useful alone. Thanks to Mamdouh Al-Shamy for introducing Prezi to me. Nokia vs OS on Prezi

Vodafone USB Modem on Ubuntu 10.10

[Note: I also tried the following commands/steps on Ubuntu 11.04 from a virtual machine, but could not test the hardware. You can give it a try] As mentioned here , the last driver for Vodafone USB modem on Ubuntu is for Ubuntu 10.04, and it is a beta version. I still gave these steps a try on Ubuntu 10.10 and hoped it worked (and it did). I had to go through two ways to run the USB modem. Way #1: 1- Install the dependencies as mentioned on website, except for python-gnome2-extras (which is not available). And also two important drivers. sudo apt-get install wvdial hal python-twisted python-serial python-sqlite python-tz python-gobject python-dbus python-cairo python-crypto python-gtk2 python-gnome2 lsb-release python-glade2 sudo apt-get install usb-modeswitch ozerocdoff 2- Download the Vodafone USB Connect folder from this link . 3- Uncompress the package and install it. [assuming I downloaded it in /tmp] cd /tmp tar xvfz Ubuntu.tgz cd ./Ubuntu sudo dpkg -i vodafon...