diff -r 80ef3a206772 -r 48780e181b38 Symbian3/SDK/Source/GUID-1BEA00A2-7934-5CF6-A838-44CCA4A28F35.dita --- a/Symbian3/SDK/Source/GUID-1BEA00A2-7934-5CF6-A838-44CCA4A28F35.dita Fri Jul 16 17:23:46 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,14 +0,0 @@ - - - - - -Application registration files
Introduction

An application registration file defines information about an application that is required by the application launcher or system shell. This includes the application’s name, UID and properties. Other information required by the shell, for instance the icons and captions, is defined separately; the location of the icon/caption definitions is provided in the registration file. Before v8.1, all of this information was provided by aif files. In v8.1, both aif files and registration files are supported, but from v9.0 onwards, only registration files are supported.

- Registration files -

This diagram shows:

A registration file is required by every application, even if it has default properties, icons and caption. Minimally, it must specify the application's UID and the name of the application’s executable.

For an example, see An example registration file and icon/caption file.

Registration information

A registration file defines the following non-localisable application information; in other words, information that never varies according to the phone’s language setting:

  • the application’s properties, such as whether it is embeddable or hidden,

  • a group name; this may be used to categorize applications. Note that a group name may also be defined in the localisable file. If so, the localisable version will take precedence.

  • a number which identifies the screen on which the application is displayed (if the phone has multiple screens).

  • the MIME types supported by the application, and the priority of support for each,

  • a list of files owned by the application,

  • a flag that identifies non-standard types of application,

  • for server applications only, a list of the services provided.

All of these properties are defined using an APP_REGISTRATION_INFO resource struct. See its declaration in AppInfo.rh for the default values. For more information about these properties, see Defining application icons, captions and properties.

Most applications also need to define localisable information, for instance non-default captions and icons and possibly a group name (described above). The registration file specifies its location. This can be done in one of two ways:

  • as the name and path (excluding drive letter and extension) of a localisable icon/caption definition file,

  • as the ID of a LOCALISABLE_APP_INFO resource struct defined in the application’s UI resource file. In this case, the name and path of the application’s UI resource file (excluding drive letter and extension) must also be provided.

\ No newline at end of file