Namespaces
Variants
Actions
Revision as of 04:17, 11 October 2012 by hamishwillee (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to Hide Application from User Menu

Jump to: navigation, search
Article Metadata

Article
Created: vasant21 (04 Aug 2007)
Last edited: hamishwillee (11 Oct 2012)

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;
}
291 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