import appuifw import e32 def exit_key_handler(): app_lock.signal() # define a callback function def shout(): print "shouting" # create your content list of your listbox including the icons to be used for each entry entries = [u"Signal",u"Battery"] # create an Active Object app_lock = e32.Ao_lock() # create an instance of appuifw.Listbox(), include the content list "entries" and the callback function "shout" # and set the instance of Listbox now as the application body appuifw.app.body = appuifw.Listbox(entries,shout) appuifw.app.exit_key_handler = exit_key_handler app_lock.wait()