Resource management example: HelloWorldBasic

This section uses the HelloWorldBasic example provided with the S60 C++ SDK to illustrate some of the basic issues associated with using resource files when making applications for the Symbian OS. In particular, this section explains the contents of the resource and registration resource files used in the HelloWorldBasic application in terms of:

The HelloWorldBasic application, in addition to printing "Hello World!" on the screen, also demonstrates displaying text with Information Note and loading strings with the help of StringLoader, writing to and reading from a file and use of a dialog to inquire for user input. Furthermore, the HelloWorldBasic application has been localized to four different languages.

For more information about the available example applications, see the S60 C++ SDK example folder at:

  • <S60_SDK_installation_directory>\S60CppExamples\

Note: The application documentation is in the doc subfolder.

The other parts of this example are commented in Tutorial 3: Importing an existing application, description of files.

For more information about resource files, see Managing resource files.

Pre-requisites

The example can be found in the S60 C++ SDK and can be compiled and run with the accompanying command line tools.

It is also recommended that you have a target device to which you can deploy the application.

For more information on the software requirements for compiling and running HelloWorldBasic, see Before you start.