I'm porting my code to Symbian Belle, using real device (Nokia E7-00) for testing.
My code (working on 3rd and 5th) traverses entire message store and retrieves messages according to some criteria. In Symbian Belle this is working fine for sms and mms, but fails for e-mail, because when I ask GetChildIdsL on mail root entry, the returned selection is empty.
I'm starting from KMsvRootIndexEntryId, using GetChildIdsL I can retrieve the Local entry, under Local I can list Inbox, Outbox,Drafts,Sent, email@example.com, but when it comes to retrieve entries under gmail folder using
iMsvSession->GetChildIdsL(parentId, *iFilter, *iSelection);
resulting iSelection->Count() is 0.
iFilter = CMsvEntryFilter::NewL();
I've also tried to explicitly set:
but with no result....
iFilter->SetOrder(TMsvSelectionOrdering(KMsvNoGrouping, EMsvSortByDate, ETrue));
I'm using all capabs except DRM, TCB, AllFiles.