Symbian Special Interest Group

Sig Is symbian special interest Group

« When Symbian met Design Patterns (2) -- Proxy PatternHow to apply certificate of Manufacturer Caps for developer? »

How to make control panel application on UIQ3

Sometimes, we want our application appears in the control panel in phone. For example when we develop applications for phone manufacturers, it looks more integrated if the icon of the application appears in the control panel. There're some articles to indroduce how to do it in Symbian pre-V9.0,  you can refer to this link to know more http://developer.symbian.com/main/downloads/papers/controlpanelapp/writeControlPanelApp_v1.0.pdf. This article introduce how to do it in UIQ3(Symbian 9.0 onwards).

It's quite simple. What you should do it modify your "XXX_reg.rss", in this file you will probably see the following code:

RESOURCE APP_REGISTRATION_INFO
 {
     app_file = "qqq"; // filename of application binary (minus extension)
     // Specify the location of the localisable icon/caption definition file
     localisable_resource_file = "
\\Resource\\Apps\\qqq_loc";
 }

Please update this to :

RESOURCE APP_REGISTRATION_INFO
 {
    
attributes = KAppIsControlPanelItem;
     app_file = "qqq"; // filename of application binary (minus extension)
     // Specify the location of the localisable icon/caption definition file
     localisable_resource_file = "
\\Resource\\Apps\\qqq_loc";
 }

KAppIsControlPanelItem is defined in "EPOC32\INCLUDE\appinfo.rh", you can refer to this file to know more details.

After doing this and re-compile the program, your application will appear in control panel in UIQ phones/emulators.

Here's the screenshot of one control panel application.

I've tried the same thing in S60 3rd SDK, and it doesn't work. If you know how to do it in S60 3rd, please tell me, thank you in advance.

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新留言

最近发表

Powered By Z-Blog 1.6 Final Build 60816

Copyright 2006-2007 SymbianSIG.com . All Rights Reserved.