hello dinesh and wizard....
i am looking for the same thing also...
i have used some apis like.
iContactDb is the default database.
TContactItemId itemid = iContactDb->GetCurrentItem();
here i am getting the -1 itemid value....I am unable to understand from the sdk what exactly iContactDb->GetCurrentItem() does.
it freeze on line contact = iContactDb->ReadContactL(ownCardId);
TContactItemId ownCardId = iContactDb->OwnCardId();
CContactItem* contact = NULL;
contact = iContactDb->ReadContactL(ownCardId);
int indexvalue = contact->CardFields().Find(KUidContactFieldGivenName);
i am cofused according to the sdk it should work for getting the current contact item.
please be helpfull for me ....
what the above apis does ..is they are used for the same purpose or they do something else...???