Popup Dialog For Phonebook Number
Join the DZone community and get the full member experience.Join For Free
A minimal example to let you choose from you mobile phonebook.
import contacts, appuifw db = contacts.open() names =  numbers =  for i in db: names.append(db[i].title) num = db[i].find('mobile_number') if num: numbers.append(num.value) # first mobile else: numbers.append(None) i = appuifw.selection_list(names) print 'number =', numbers[i]
Opinions expressed by DZone contributors are their own.