在9200系列通信器中怎样可以在程序中调用安装管理器
文章信息
测试基于
设备:: 9200 Communicator
兼容于
平台: S60 1st Edition
文章
关键词: CApaCommandLine
由 huwell
在 29 Jun 2007 创建
最后由 hamishwillee
在 08 May 2013 编辑
- 开发伙伴平台: 9200通信器系列
- 说明:
完成这个功能可以使用下面的代码
CApaCommandLine* cmdLine;
cmdLine=CApaCommandLine::NewLC();
cmdLine->SetLibraryNameL(
_L("z:\\System\\apps\\instapp\\instapp.app"));
cmdLine->SetDocumentNameL(_L("FileNameToInstall.sis"));
cmdLine->SetCommandL(EApaCommandRun);
EikDll::StartAppL(*cmdLine);
CleanupStack::PopAndDestroy(); // cmdLine


(no comments yet)