This is the Maemo SDK VMWare Appliance. To start using Maemo just click on the "Maemo SDK Environment" icon in the top left of the workspace.
It will open a Xephyr window and a terminal running scratchbox...
...where you can start the Maemo environment with
The graphical environment will be shown in the Xephyr window.
The targets for the Maemo 4.0 platform are CHINOOK_X86 (i386) and CHINOOK_ARMEL (arm). You can use the i386 target during most of the development phase, and then change to ARMEL when you decide to deploy or test your software in the device
The default target is CHINOOK_X86, but you can change environments calling the sb-menu utility, going in the Select option, and choosing the environment.
If you switch between X86 and ARM targets, remember to stop and restart the environment with af-sb-init.sh stop and af-sb-init.sh start, respectively.
WARNING: For some reason af-sb-init.sh stop doesn't work on the ARMEL target, and before changing targets you need to call sb-menu select the Killall option, and send a 9 signal to the processes running.
You will find some code in the sample_source folder on the scratchbox home. There are samples in C, C++, Python and Vala languages, plus examples using Maemomm and Enligthenment Foundation Libraries. You can go inside the respective folders, compile them with make. If other procedure is needed it will be described in the README on the relevant directory.
Notice that if you run your code just with ./compiledsample the result will be so ugly that it will pierce your eyes.
So, remember to execute this with the run-standalone.sh
The ESbox plugin for Eclipse allows you to develop Maemo application using the popular IDE. Detailed instructions on how to use it can be found in the Maemo4Mobile page. And an educational screencast can be watched on Google Video, or download a higher resolution version in Ogg/Theora format.
If you are using VMware Player to run the Maemo SDK, having VMware Tools in the image will make your life a lot easier. You will be able to drag'n'drop files and copy and paste text between the host and guest operational systems.
We have installed the Open Virtual Machine Tools in this image. It is very recent and we have had some problems making it start in an "automagic" fashion, and sometimes it fails to start on boot. But fear not, it's very easy to have your copy'n'paste working, click on this icon to start the Open VM services:
This is equivalent to open a terminal and issue this command:
ATTENTION: The steps described bellow must be done inside the VM image.
You will need a file that is deeply inside VMware Workstation, the comercial version of VMWare. So this process will require some steps:
First, download VMware Workstation for Linux (we suceeded with the version 6.0.1); then you need to find the linux.iso file:
Extract it using the path indicated by tar:
The file you need is inside this ISO, so mount it.
Now, untar it, enter in its folder and install:
You will be asked a lot of questions, fortunately you can accept all the defaults, but read carefully anyway, for in the end there are some pos-installation instructions.
You can try the following VMware Tools features:
If you want to change the display to a higher resolution, open a terminal and run: