Categories: S60 | Python | How To | Code Examples | PIM
This page was last modified 22:22, 12 October 2007.
How to choose a phone number
From Forum Nokia Wiki
A minimal example to let you choose from you 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[0].value) # first mobile else: numbers.append(None) i = appuifw.selection_list(names) print 'number =', numbers[i]
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Window to choose the language of the app during the install | asmobease | General Symbian C++ | 8 | 2007-06-01 09:41 |
| How to get phone events? | vikas3a | General Symbian C++ | 3 | 2006-09-26 11:20 |
| Distributing J2ME applications | mandeepdhill | Mobile Java General | 5 | 2007-10-16 12:59 |
| Questions about N95 8GB | nick_santa83 | Python | 12 | 2008-02-05 04:24 |
| How to get the self phone number | nasir_perwez | Python | 1 | 2007-04-23 16:13 |
