×
Namespaces

Variants
Actions
Revision as of 09:34, 30 May 2013 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to Hide Application from User Menu

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: vasant21 (04 Aug 2007)
Last edited: hamishwillee (30 May 2013)

In your ApplicationName_reg.rss file you will find a structure RESOURCE APP_REGISTRATION_INFO. You need to add the following line to the resource.

...
hidden = KAppIsHidden;
...

For Qt applications, the hidden attribute cannot be set directly in the generated ApplicationName_reg.rss file since qmake would overwrite it each time the project is built. Instead, add a RSS_RULES statement to the ApplicationName.pro file

...
RSS_RULES += "hidden = KAppIsHidden;"
...

This application will be a hidden application, and it will not be shown in the Applications list.

Example ApplicationName_reg.rss file

RESOURCE APP_REGISTRATION_INFO
{
app_file="HelloWorldBasic";
localisable_resource_file = STRING_r_helloworldbasic_loc_resource_file_1;
localisable_resource_id = R_HELLOWORLDBASIC_LOCALISABLE_APP_INFO;
 
hidden = KAppIsHidden;
 
embeddability=KAppNotEmbeddable;
newfile=KAppDoesNotSupportNewFile;
}
This page was last modified on 30 May 2013, at 09:34.
82 page views in the last 30 days.