Switch Application To Foreground In Pys60
Join the DZone community and get the full member experience.
Join For FreeTaken 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")
application
Opinions expressed by DZone contributors are their own.
Comments