如何将程序送到后台运行
09月 20th, 2007
比如说,当按下back后,在HandleCommandL()中加入如下处理:
case EAknSoftkeyBack:
{
TApaTask apaTask(iEikonEnv->WsSession());
apaTask.SetWgId(CCoeEnv::Static()->RootWin().Identifier());
apaTask.SendToBackground();
break;
}
解释一下:
A task is a running application.
A task is identified by its association with the running application’s window group.
apaTask把自己送到后台,并在后台继续运行。
Popularity: 6% [?]
Entry Filed under: Symbian代码研究, Symbian开发, Symbian开发技巧
1 Comment Add your own
1. keke | 12月 10th, 2007 at 4:40 pm
the article is well .
I read it then I can do for my appication
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed