Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Minimal: A minimal UI application

Found in examples\AppFramework\Apparc\Minimal\.


Description

This example demonstrates a minimal UI application without the use of resource files. It implements the standard classes required by the UI framework of any application; application, document, application UI and view, all of which are implemented minimally.

[Top]


Application class

The application class implements the following required functions:

Because the application does not use a resource file, it also needs to override CEikApplication::ResourceFileName(), to return an empty resource filename.

[Top]


Document class

The document class must implement CEikDocument::CreateAppUiL().

[Top]


Application UI class

The app UI class implements the following required functions:

[Top]


View class

Views are controls, derived from CCoeControl. Their main purpose is to display the application's data and to handle input. This view overrides CCoeControl::Draw(), to display a message in the centre of the screen rectangle. It does not handle any key or pen input.

[Top]


Class Summary

[Top]


Build

The Symbian OS build process describes how to build an application.

The Minimal example builds an executable called Minimal.exe in the standard location (\epoc32\release\winscw\<build_variant> for CodeWarrior). Either launch the executable itself, or launch the emulator and then select the Minimal application from the Emulator's extras bar.