I develop the code for retrieving the type of event change & id of the contact item of the contact database.I have posted the code which i developed,
database= CContactDatabase::OpenL(); //open phonebook, which returns a pointer
TUint connectionid = database->ConnectionId();
event.iConnectionId = connectionid;
changenotifier = CContactChangeNotifier::NewL(*database,(MContactDbObserver*) observer);
TContactDbObserverEventType type = event.iType;
TContactItemId contactitemId = event.iContactId;
but it retrieving the type of the change event has 64 & contact item Id has zero.please tell me,what is the probelm with this code ,if anyboby worked with this ,please send me sample code.thanks in advance .