S60 C++ example application documentation

This section contains documentation for the C++ example applications delivered with the SDK.

In addition, the following table lists example applications that are available on Forum Nokia.

Application

Description

S60 5th Edition: Solitaire Game Example

A fully touch optimized application using various touch UI features with direct manipulation. Besides tapping the cards, the user can drag and drop them using a finger or the stylus. The application demonstrates handling pointer events of custom made UI controls. Also tactile feedback is used. Double buffering is used to draw on the screen to avoid flickering. The cards are by default implemented as SVG icons but the example also provides an option to draw them using methods of the graphics context class.

Open C++: Memory Game Example

A simple memory game. The game engine part has been written in Open C++ and the UI part has been written in Symbian C++. The application supports both a keypad and touch UI, depending on the device.

S60 Platform: Image Converter Example

Demonstrates how to use the image conversion APIs to rotate and scale images and to access image encoders and decoders in the Image Conversion Library (ICL). The images can be opened, rotated, scaled, and saved in the same or a different format. The UI has been optimized for touch using, for example, long taps and tactile feedback, but it also supports a keypad.

S60 Platform: Scalable UI Example

The Noughts and Crosses application demonstrates the scalable UI and SVG-T icons. It has been designed to work on all devices from S60 3rd Edition onwards and it supports different screen sizes, orientations, and both the touch UI and a traditional keypad.

S60 Platform: Dynamic Setting List Example

Demonstrates how to load CAknSettingItemList dynamically at run time instead of defining the list structure into a resource file. In the example, the lists are loaded during application startup.

S60 Platform: Calendar Interim API Example

Demonstrates how to add and modify anniversary entries using the Calendar Interim API.

S60 Platform: Settings Screen Example

Explains the basic construction of settings screens, including setting item lists, setting items, and setting pages. The application consists of a single view - a Setting List that has a variety of different types of settings that can be manipulated. The application supports touch UI.

S60 Platform: Scalable Screen-Drawing Example

Demonstrates scalable screen drawing with Direct Screen Access and custom drawing routines using SVG-T icons and bitmaps. The application scales to multiple display resolutions in portrait and landscape orientations. This example is targeted especially at game and multimedia developers who prefer developing a custom UI instead of using an automatically scaling UI, such as S60 Avkon components. The application supports middle-softkey labeling and touch UI.

S60 Platform: Thread and Active Objects Example

This example demonstrates how to create an active scheduler and how to use active objects inside a new thread. Inside the main thread (main program) the framework creates the active scheduler automatically, but inside a new thread the active scheduler must be created by the developer. For example, the Bluetooth device discoverer is an active object that searches Bluetooth devices in the vicinity and refreshes the found devices list.