Search Options
close
Search the following clips:
All Clips
Sign Up
Install
Learn More
Login
如何使后台运行的程序获取按键事件
neoit
follow
0
2-7-2009 2:08 AM
138 views
tags:
mobile
,
symbian
Add a Comment
Login
to Comment. Not a member yet?
Sign up
Today's Top Clips
Moonbeams
Hacked STOP Signs (Photos)
The Known Universe
My response to McAfee about Clipmarks
Grow your own false teeth
Miracle at Memorial: Mom and Baby Die During Labor, Revived
Court Puts Limits on Taser Use by Police
Father Kills Mother and Baby Because 'She Wasn't Born a Boy'
Amazing Clouds
Danish Paper - Obama Greater Than Jesus
visit the
Top Clips page
View the Top Clips from
February 7, 2009
Embed This Clip In Your Site...
<div style="margin: 12px 0px; font-family: arial; color: #333333; background: #ffffff; border: solid 4px #e5e5e5; width: 100%; clear: left;"><div class="CM_CTB_Content_Wrap" style="margin: 0px; padding: 0px;background-color: #ffffff;"><div style="border-bottom: solid 1px #dcdcdc; white-space: nowrap; margin-bottom: 8px; background-color: #eeeeee ;background-image: url(http://clipmarks.com/images/source-bg.gif); background-repeat: repeat-x; height: 24px; line-height: 24px; vertical-align: middle; padding-bottom: 4px; color: #666666; font-size: 10px;" ><a href="http://clipmarks.com/clip-to-blog/" title="see clips that are hot right now"><img src="http://content.clipmarks.com/blog_embed/4360ac22-bdff-4378-89d7-5ca16890824e/E27EDAC3-D2B0-475A-AFF9-05A1868F6344/" alt="" width="19" height="19" border="0" style="vertical-align: middle; margin: 0px 4px; display: inline; border: none; float:none;" /></a>clipped from <a title="http://symbianblog.com/index.php/2007/09/20/%e5%a6%82%e4%bd%95%e5%b0%86%e7%a8%8b%e5%ba%8f%e9%80%81%e5%88%b0%e5%90%8e%e5%8f%b0%e8%bf%90%e8%a1%8c/" href="http://symbianblog.com/index.php/2007/09/20/%e5%a6%82%e4%bd%95%e5%b0%86%e7%a8%8b%e5%ba%8f%e9%80%81%e5%88%b0%e5%90%8e%e5%8f%b0%e8%bf%90%e8%a1%8c/" style="font-size: 11px;">symbianblog.com</a></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://symbianblog.com/index.php/2007/09/20/%e5%a6%82%e4%bd%95%e5%b0%86%e7%a8%8b%e5%ba%8f%e9%80%81%e5%88%b0%e5%90%8e%e5%8f%b0%e8%bf%90%e8%a1%8c/"><H3><A title="Permalink" href="http://symbianblog.com/index.php/2007/09/20/%e5%a6%82%e4%bd%95%e5%b0%86%e7%a8%8b%e5%ba%8f%e9%80%81%e5%88%b0%e5%90%8e%e5%8f%b0%e8%bf%90%e8%a1%8c/">如何将程序送到后台运行</A></H3></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://symbianblog.com/index.php/2007/09/20/%e5%a6%82%e4%bd%95%e5%b0%86%e7%a8%8b%e5%ba%8f%e9%80%81%e5%88%b0%e5%90%8e%e5%8f%b0%e8%bf%90%e8%a1%8c/"><P>比如说,当按下back后,在HandleCommandL()中加入如下处理: case EAknSoftkeyBack: { TApaTask apaTask(iEikonEnv->WsSession()); apaTask.SetWgId(CCoeEnv::Static()->RootWin().Identifier()); apaTask.SendToBackground(); break; }</p> <P>解释一下: A task is a running application. A task is identified by its association with the running application’s window group. apaTask把自己送到后台,并在后台继续运行。</p> <P class="akpc_pop">Popularity: 6% <SPAN class="akpc_help">[<A title="What does this mean?" href="http://alexking.org/projects/wordpress/popularity-contest">?</A>]</SPAN></P></blockquote></div><div style="margin: 0px 6px 6px 4px;"><table style="font-size: 11px;border-spacing: 0px;padding: 0px;" cellpadding="0" cellspacing="0" width="100%"><tr><td style="background:transparent;border-width:0px;padding:0px;"> </td><td align="right" style="background:transparent;border-width:0px;padding:0px;width:107px" width="107"><a href="http://clipmarks.com/share/E27EDAC3-D2B0-475A-AFF9-05A1868F6344/blog/" title="blog or email this clip"><img src="http://content9.clipmarks.com/images/c2b-foot.png" border="0" alt="blog it" width="107" height="17" style="border-width:0px;padding:0px;margin:0px;" /></a></td></tr></table></div></div>
New from the makers of Clipmarks:
Amplify.com - Don't just share the news...Amplify it!
Clipmarks
Home
New Clips
Top Clips
Dashboard
Popular Topics
News
Life
Science
Technology
Entertainment
Get Started
Sign Up
Install Clipping Tool
How Clipping Works
Clip-to-Blog™
ClipSearch
Tools and Resources
FAQ
ClipWeek
Top Clippers
Top Tags
Site Map
About Clipmarks
About Us
Contact
Copyright
Privacy
EULA
OK