Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



How AIF Builder works with different languages

The files that must be supplied, and the files that AIF Builder generates are different for different programming languages, as summarised below.


The application directory

Files for an application must be located in a directory \System\Apps\app_name\, on any drive, where app_name is the application's name.

When you are working on the Emulator:

When an application is deployed on a target device, the application directory is created as part of the installation process.

[Top]


C++ files

C++ application writers must supply:

app_name.app file

The application

app_name.rsc file

The application's resources

AIF Builder generates:

app_name.aif

Application Information File

.mbm

Optionally, a multi-bitmap file for the application icon

[Top]


Java files

Java application writers should provide:

jar, zip or class files

The Java application’s code. One class must have a valid main() method. These files do not have to be located in the application folder, but this is usually most convenient. See How to set the Java command line for details.

AIF Builder generates:

app_name.app

Contains a unique identifier (UID) for the application

app_name.aif

Application Information File

app_name.txt

A text file giving a command line for the Java runtime

.mbm

Optionally, a multi-bitmap file for the application icon

[Top]


OPL files

OPL application writers should provide an OPL source file (.opl) or text source file (.tpl).

AIF Builder generates:

Modified source file

The original source file, with a modified app construct recording the properties of the application. Any existing app section is overwritten.

.mbm

Optionally, a multi-bitmap file for the application icon

Note that to complete creation of the application you must translate the source. This creates the application directory and .app and .aif files.