This section shows you how to get started (Your baby steps in N900 development starts by starting up the environment. And gettin some sample codes from the community).
Development for Maemo currently utilizes GTK, so if you’re planning on developing something for Maemo devices I’d recommend you start here and then proceed to the Maemo Wiki.
Step 1 in development is setting up the SDK which can be done by following the guide here or here
If you’ve already done that, then start up Xephyr (and here’s how). From a terminal first startup the SDK
sudo sh -c 'echo 0 > /proc/sys/vm/vdso_enabled' Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -kb &
Go into scratchbox
/scratchbox/login
Switch to the x86 environment
sb-conf se FREMANTLE_X86
export the display and start up
export DISPLAY=:2 af-sb-init.sh start
You will get a screen that looks like this
. Remember to click, click + drag and just play with it as much as possible to just make sure you get familiar with the interface
You can then look through this pseudo-maemo-emulator for applications you can install. You can start with the sample widget – the process of which is nicely documented here. Or better yet, write (and compile) your own obligatory Hello World program as documented here