Posted on by Gast | Posted in Mobile Blog, Tutorial | Tagged

During development I realized that many device specific features are not available in the emulator. So I decided to find a way to debug software in realtime on the device. First of all I had to upgrade my Device to version PR 1.2. So my SDK and the device libraries had the same version numbers.

I had to install the „maemo pc connectivity“ Package on my N900 and on my host pc.
First I enabled the developer repository on my N900:

catalog name: extras-devel
web address:
distribution: fremantle
components: free non-free

in a shell on the N900:

sudo gainroot
apt-get install maemo-pc-connectivity gdb

On my Host System I added the repository:

deb intrepid main

and installed host-pc-connectivity by typing:

sudo apt-get update
sudo apt-get instsall host-pc-connectivity

I had a new usb device with an IP address

Posted on by Gast | Posted in Mobile Blog, Tutorial | Tagged , ,

In this post i will show you how to realize a Maemo 5 Qt 4.6 application with google maps integration.

The map:

There is a good short tutorial with included source code: Because there is no native library for the N900 you have to go another way to get the map in your application. The tutorial describes howto load and render the map by the webkit library. I used parts of the html file of that project for my little app.

Posted on by Gast | Posted in Mobile Blog, Tutorial | Tagged ,

Configuration of Qt:

My last post described howto setup your sdk an ide for Maemo5 and Qt development on the N900 devide. This time i will show you how to configure your ide and setup your first project.

First of all Goto Windows->Preferences_>Qt and add a new entry in the list. The Version needs a label. I chosed the version of Qt. Then you have to add a few paths in the scratchbox environment where Qt and its helper programs are located. Have a look at the image below.

configure your QT version for Eclipse

Posted on by Gast | Posted in Mobile Blog, Tutorial | Tagged ,

As a Java developer it was not easy for me to find the right entry point for developing c++, using the trend-setting Qt 4.6 environment and having a cute ide with rapid prototyping capabilities. After a little bit of reading and lots of trials and errors i found a way for me that worked.

First of all, if you use Kubuntu 10.04 like me, you have to edit your /etc/sysctl.conf and add the following line, otherwise the maemo-sdk installer will fail to install:

#scratbox maemo sdk fix
vm.mmap_min_addr = 0

I installed the following tools in the given order: