Chapter 2. Quick Start

This chapter explains how to create a Hello World application for Symbian OS and deploy it to a smartphone. You will also learn how to make a small modification to the Hello World application.

Hello World Project Template

Carbide.c++ includes several project templates, that you can use to develop a Hello World application. There are project templates to create S60 GUI applications and UIQ GUI applications.

This book provides an additional template of the Hello World application for Carbide.c++. Our template creates a Hello World project that can be compiled for both S60 3rd Edition and UIQ 3 platforms. The template can be downloaded from the web page for this book (developer.symbian.com/quickrecipesbook).

To install the Hello World template from this book, extract the ZIP file to the plug-ins folder of Carbide.c++. For example, the default plug-in folder for Carbide.c++ v1.3 is c:\apps\carbide.c++v1.3\plugins. You may have a different folder name depending on where you installed Carbide.c++. Note that the Carbide.c++ IDE has to be restarted after the new template is copied.

Running Carbide.c++ IDE

Carbide.c++ can be run from the Start menu or Windows Desktop. When first launched, it will ask for the workspace (see Figure 2.1). A workspace is a folder where your projects are stored. Note that a workspace path should not contain spaces, because of limitations of the tool chain (you will get a compilation error when using a workspace with a path that contains spaces). ...

Get Quick Recipes on Symbian OS: Mastering C++ Smartphone Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.