Over a million developers have joined DZone.

Switch Application To Foreground In Pys60

DZone's Guide to

Switch Application To Foreground In Pys60

Free Resource
Taken from the 'appswitch' module here

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")


Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}