DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Switch Application To Foreground In Pys60
Taken from the 'appswitch' module <a href=http://pymbian.sourceforge.net/misc/appswitch-v0.20051019.zip>here</a>
import appswitch print appswitch.switch_to_fg(u"Menu")
Updated (19 Oct 05) ================== Now it can - listing running applications - switching them to foreground/background - closing/killing apps
# listing
apps = appswitch.application_list(True) # true = include all
# false = no hidden apps
print apps
# to background and closing
print appswitch.switch_to_bg(u"TODO")
print appswitch.end_app(u"TODO")





Comments
Snippets Manager replied on Mon, 2007/08/06 - 12:01pm