Namespaces
Variants
Actions

How to define folder for application icon during installation

Jump to: navigation, search



Article Metadata

Tested with
Devices(s): All devices

Compatibility
Platform(s): S60 2nd Edition Feature Pack 1,
S60 2nd Edition Feature Pack 2,
Series 80 2nd Edition

Article
Created: User:Technical writer 2 (25 Aug 2005)
Last edited: hamishwillee (14 Jun 2012)

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.

This page was last modified on 14 June 2012, at 09:29.
91 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved