首 页 | 新 闻 | Symbian | Android| Windows Mobile | J2ME | 下载中心 | 游戏策划招聘与求职 | 购书指南 | 视频教程
您现在的位置: 开发视界 >> Symbian英文资料 >> Tips Tricks >> 正文
Start automatically an application or an exe after its installation
作者:佚名    文章来源:不详    更新时间:2006-5-7 11:28:00

It is very easy to let an application (or more useful, a server) starting automatically after it has been installed on the phone. In your PKG file, add ",FR,RI" at the end of the line containing your app or exe file.

"FR" means "File Run" and "RI", "Run during Installation". Just take care that all rsc, aif, mbm files are already installed before starting an APP(i.e. just install the App as the end of your pkg file).

Exemple:


"\Symbian\6.1\Series60\Epoc32\release\thumb\urel\MyApp.rsc"         -"!:\system\apps\MyApp\MyApp.rsc"
"\Symbian\6.1\Series60\Epoc32\release\thumb\urel\MyApp_caption.rsc" -"!:\system\apps\MyApp\MyApp_caption.rsc"
"\Symbian\6.1\Series60\Epoc32\release\thumb\urel\MyApp.aif"         -"!:\system\apps\MyApp\MyApp.aif"
"\Symbian\6.1\Series60\Epoc32\release\thumb\urel\MyApp.app"         -"!:\system\apps\MyApp\MyApp.app",FR,RI
相关文章:
How to reset the alternate makmake entry in Codewarrior
Change the application language at runtime for Series 60 3rd Ed.
Carbide.vs - Disabling the MMP/PKG File update feature
Codewarrior: how to avoid the "Too Many Include Paths" error when using the UIQ 2.1 SDK
Carbide.c++: Setting up On Target Debugging
Display the extended panic code in Emulator or Device
Compress Your Symbian C++ Executables
How To Freeze New Exports From Dll
 

站点地图 | 加入收藏 | 联系站长 | 广告服务 |
QQ:280529124  Tel:0592-8271361 辽ICP备05021703号