How to define folder for application icon during installation
Article Metadata
Tested with
Compatibility
S60 2nd Edition Feature Pack 2,
Series 80 2nd Edition
Article
Overview
How to define folder for application icon during installation
Description
It is possible to define in which application folder the application icon is located to after installation by using the groupName attribute in the application information resource file. Even new folders can be created.
Note that in devices based on Series 80 the user can change this selection during installation.
Exampleapp_aif.rss:
RESOURCE AIF_DATA
{
// Application UID
app_uid = 0x10004321;
// Caption(s) shown for the application
caption_list =
{
CAPTION
{
code = ELangEnglish;
caption = "ExampleApp";
}
};
// Default icon is used
num_icons = 0;
// Capabilities
embeddability = KAppNotEmbeddable;
hidden = KAppNotHidden;
newfile = KAppDoesNotSupportNewFile;
groupName = "Examples"; // Max 16 chars
}
Remember to include the resource file in the MMP file and the AIF file in your SIS package.
In S60 2nd Edition, Feature Pack 3 and S60 3rd Edition the folder selection is done with the group_name attribute defined in the application registration file (Exampleapp_reg.rss). By default, installed applications will be placed in the 'My Own' folder if group_name is not specified.


(no comments yet)