You Are Here:

Community: Developer Discussion Boards

#1 Old Get group members Ids by group ID - 2009-01-25, 22:55

Join Date: Dec 2008
Posts: 1
michael@swaysense.com
Offline
Registered User
Hi,

I'm using pys60 version 1.4.5. I'm testing on Nokia E71 at the moment.

I can't seem to find any working code for retrieving all contact group members.

I have the contact group ID, by writing this code:

import contacts

self.contact_db = contacts.open()
self.groups = self.contact_db.groups
for group in self.groups:
<indented> if not group: continue
<indented> groupObj = self.contact_db[group]
<indented> print groupObj.id

This code prints all group contact object ID succesfully. But now - how can I get each group members' contact IDs / objects?

This is a trivial requirement and I can't seem to find any code that does this job or any method in the ContactDB or Group object that gives me the member list.

Thanks,
Michael Bergman
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
How to fetch group and members in each group from device contact database vinaykk General Symbian C++ 7 2009-01-21 13:34
Cancelling Mute Icon (Floating Rectangle) gailu General Symbian C++ 12 2008-12-05 10:37
Members of a group federico2929 Python 3 2008-01-16 06:15
CONE 44 panic when deleting tab group guderian1 Symbian User Interface 2 2007-05-22 12:13

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