看看想想记记
« »
June 14, 2008Symbian

347 views

Symbian S60 V3自启动各种问题解决办法

S60自启动,是个麻烦的事情,但是可以在SDK中的Startup List Management API找到

1.相关的说明可以看这里:

在3版中实现并动态配置开机自启动

2.开机后如果自动启动就自动退出,但是人肉启动时不用退出,可以这样子

TBool CFepSetupAppUi::ProcessCommandParametersL(CApaCommandLine &aCommandLine)
{
if(aCommandLine.OpaqueData().Length() > 0)
{
// Opaque data exists, app. has been manually started from the menu
}
else
{

//加载后退出
iCoeEnv->InstallFepL( fepZhi6WubiUid );
CAknAppUi:Exit();
//iEikonEnv->RootWin().SetOrdinalPosition(-1);

// App. has been auto-started -> exit if auto-start in settings is OFF
}
return CEikAppUi::ProcessCommandParametersL( aCommandLine );
}

更多文档,也可以看这里:How can I disable autostart if it is enabled? How can I make autostart /autoboot dynamic?

3.用一个console程序来启动,然后来退出,因为要contruct ccoeenv,所以暂时没能提供

日志信息 »

该日志于2008-06-14 00:17由 J.et wong 发表在Symbian分类下, 你可以发表评论。除了可以将这个日志以保留源地址及作者的情况下引用到你的网站或博客,还可以通过RSS 2.0订阅这个日志的所有评论。

相关日志 »

  • No Related Post

没有评论

发表评论 »

返回顶部

Switch to our mobile site