Over a million developers have joined DZone.

Open Another App As Content Handler

Current python for series 60 (version 1) doesn't support graphics drawing on screen. But it still allows you to open an image file or other content file using external content handler. Here is the short and shorter versions to demonstrate.

# this version wait for external app to exit, then it continue.
import e32
lock = e32.Ao_lock()
handler = appuifw.Content_handler(lock.signal)
hander.open(filename)  # eg. an image file
lock.wait()	# wait for lock.signal to unlock

# this is a short, one-line version which doesn't wait

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

{{ parent.tldr }}

{{ parent.urlSource.name }}