×
Namespaces

Variants
Actions

How to define folder for application icon while installation

From Nokia Developer Wiki
Jump to: navigation, search

This article shows how you can use the groupName attribute in the application registration resources to specify (or create) a folder in which a newly installed app's icon should be displayed. This overrides the default behaviour which is to put the icon in the "Applications" or "My Own" folder. Note that this example shows how the resources are updated prior to S60 2nd Edition FP3 in a .aif file; in later versions the folder selection is done in the application registration file (Exampleapp_reg.rss).

Article Metadata
Article
Created: kiran10182 (07 May 2007)
Last edited: hamishwillee (25 Jan 2012)

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;
 
group_name = "Examples"; // Max 16 chars
}

Remember to include the resource file in the MMP file and the AIF file in your SIS package.

This page was last modified on 25 January 2012, at 03:42.
29 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×