Open Another App As Content Handler
Join the DZone community and get the full member experience.Join For Free
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 appuifw.Content_handler().open(filename)
Opinions expressed by DZone contributors are their own.