¤¤¤ ¤¤¤ 2. Running Hello World ¤¤¤ ¤¤¤

This page will show you how to run a Hello World Application.

¤¤¤ Step 1: Importing the Hello World Project into CodeWarrior ¤¤¤

Start Metrowerks CodeWarrior.
Select Import Project From .mmp File... in the File menu.

¤¤¤ Step 2: Select the SDK ¤¤¤

In our tutorial you should only be able to choose the Series60 S60_2nd_FP2_CW.

¤¤¤ Step 3: Select the project to import ¤¤¤

The project we are going to look at is called HelloWorldBasic and can be found in the following directory:
C:\Symbian\8.0a\S60_2nd_FP2_CW\Series60Ex\helloworldbasic\group
Select the mmp file in this directory.

¤¤¤ Step 4: The project in CodeWarrior ¤¤¤

CodeWarrior should by now have imported the project. If an error occurs make sure that you have installed all the tools listed on the previous page and try to restart your computer.

Notice the four numbers on the screen shot.
1. This ComboBox is used to select the target the project is build for. Make sure it says WINSCW UDEB - this is the target for the emulator.
2. The projects cpp files, resources and libraries.
3. The current file
4. The green triangle will run the project in the emulator. Go ahead and push it!

¤¤¤ Step 5: The emulator ¤¤¤

It takes a while for the emulator to load. After it has loaded you should see the emulator.
Your application is not automatically launch, but you have to launch it your selv.
The HelloWorld application is called HW. Select it a press ok and the application should launch.

Congratulations, by now you should have run your first mobile phone program in the emulator. If you want to try some of the other programs go ahead and repeat the steps described above just choose another project file (.mmp) in step 3.

If you want to understand more about how the program works go ahead to the next page
Basic Hello World >>