You Are Here:

Community: Developer Discussion Boards

#1 Old Question How can I get the group list in Contacts Book? - 2007-08-21, 09:40

Join Date: Feb 2007
Posts: 43
jfml
Offline
Registered User
I used following codes to get a file which contains all contacts information in my mobile phone's Contacts Book:
def listContactInformations(self):
self.__openFile()
db = contacts.open()
self.__file.write(str(dir(db)))
self.__file.write('\n')
for entry_id in db:
contact = db[entry_id]
self.__file.write("[ID] - " + str(contact.id))
self.__file.write('\t')
self.__file.write("[TITLE] - " + contact.title.encode(CODEC_UTF8))
self.__file.write('\t')
self.__file.write("[ISGROUP] - " + str(contact.is_group))
self.__file.write('\t')

But I found that the result of this file just conatins all Contact information but not any Group information. Every "contact" object's field "is_group" return value "0" which means it's just a normal contact. Does anyone know how can I get the group list in Contacts Book?
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
List contacts without showing groups iulian_moldovan General Symbian C++ 5 2007-12-10 13:32
Nokia E50 contacts list synchronisation problem sansiam General Discussion 1 2007-02-23 16:15
Sending and SMS using the contacts list paulaamills Symbian Networking & Messaging 0 2006-04-01 14:35
6680 and bluetooth service profiles ceruault Mobile Java Networking & Messaging & Security 1 2005-10-08 23:24
Adding and retrieving contacts from SIM phone book chenhui General Symbian C++ 2 2004-05-11 06:00

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia