Namespaces
Variants
Actions
Revision as of 08:04, 27 September 2012 by hamishwillee (Talk | contribs)

Building S60 SDK Examples in Carbide

Jump to: navigation, search

This article shows how to build a working copy of S60 SDK S60Ex examples using Carbide.c++ IDE.

Article Metadata

Tested with
SDK: S60 3rd Edition (MR), S60 3rd Edition FP2, S60 5th Edition

Article
Created: ysaspb (30 Apr 2010)
Last edited: hamishwillee (27 Sep 2012)

Overview

First copy SDK examples into your workspace and build your application based on them. The Emulator configurations work fine after moving but you must go through additional steps to build phone configurations successfully.

The steps were tested on Carbide.c++ Version 2.5.0 (Build v201003121520_100) for

  • S60 3rd Edition SDK for Symbian OS, Maintenance Release
  • S60 3rd Edition SDK FOR Symbian OS, Feature Pack 2 v1.1
  • S60 5th Edition SDK v1.0

Steps

We are using the helloworldbasic example as an example.

  1. Copy helloworldbasic folder into your workspace.
  2. Import the project into the workspace.
    1. Choose File->Import…->”Symbian OS Bld.inf file” (under “Symbian OS”).
    2. Find Bld.inf in group folder of the working copy of helloworldbasic.
    3. Select build configurations. You can add new ones later.
  3. Configure SIS Builder for phone configurations.
    1. Choose Project->Properties->Carbide.c++->Build Configurations.
    2. Choose a phone configuration.
    3. Add a .pkg file to SIS Properties. .pkg files are in sis folder. Check that selected pkg file has the same part in it’s name (“GCCE” or “ARM”) as the selected configuration has. Make sure that “Self sign sis file” option is chosen.
  4. Edit the selected .pkg file. Replace “..\..\..\” with “$(EPOCROOT)” in all paths.
  5. The End.

Testing

To test settings and changes

  1. Make the sample specific changes (if necessary) . For helloworldbasic, we delete lines with absent resource files (.r09,.r31,.r32) from the .pkg file.
  2. Build the project in the selected configuration.
  3. Check that .sis and .sisx files are created in the sis folder of the project.
  4. Install the created sisx file on your phone with Nokia Application Installer in Nokia PC Suite. Answer phone specific questions and warnings during the installation. To install an application your phone must be configured in the proper way. For the Nokia E61, for instance, choose Menu->Settings->Tools->Application Manager->Options->Setiings and set "'All in the Software installation parameter of the Application Manager instead of default "Signed only.
  5. Check that the application icon is in Menu->Installations on the phone.
  6. Select the application icon and press the selection key or choose Options->Open to run the application on the phone.
  7. Select the application icon and choose Options->Remove to remove the application from the phone.

The End


318 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved