| ID | TSS000289 | Creation date | August 25, 2005 |
| Platform | S60 2nd Edition Feature Pack 1, S60 2nd Edition Feature Pack 2, Series 80 2nd Edition | Devices | All devices |
| Category | Symbian C++ | Subcategory | General |
| Keywords (APIs, classes, methods, functions): |
How to define folder for application icon during installation
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.
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| How to put an icon for an application? | MobileVisuals | Mobile Java Media (Graphics & Sounds) | 10 | 2006-01-26 10:37 |
| Remove Folder during un-installation | sruthimp | General Symbian C++ | 13 | 2007-09-16 15:20 |
| 3版与2版的问题 | kati1 | Symbian | 15 | 2006-06-24 05:55 |
| Application Not Running | jilka007 | General Symbian C++ | 5 | 2006-10-17 13:55 |
| program to move files from phone main screen | j2me_raj | General Symbian C++ | 6 | 2004-11-19 11:51 |