Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

appuifw.note allow global note in pys60 1.3.1 (See related posts)

# note in 1.2 
note(text, type)
# note in 1.3.1
note(text[, type[, global]])

type = 'info' (default) or 'error', 'conf'
global = 1 # display even if app is in background
import appuifw
appuifw.note(u'Hello World')             # simplest case
appuifw.note(u'Cannot connect', 'error') # show error
appuifw.note(u'New message', 'info', 1)  # alert from background

You need to create an account or log in to post comments to this site.


Click here to browse all 4861 code snippets

Related Posts