Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

How to Hide Application from User Menu

From 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 06:34.
195 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.

×