Discussion Board
-
where can i get the appropriate place?
2005-03-15, 01:15
#1
Regular Contributor
TMsvSelectionOrdering sort;
sort.SetShowInvisibleEntries(ETrue); //全部内容排序,包括隐藏
//设置入口为outbox,也就是发信箱
CMsvEntry* entry = CMsvEntry::NewL(*iSession,KMsvGlobalInBoxIndexEntryId,sort);
CleanupStack::PushL(entry);
//选择全部内容
CMsvEntrySelection* entries = entry->ChildrenL();
CleanupStack::PushL(entries);
TTime time;
//得到首信息的时间,At(0)代表首信息,取其他的可以给出相应的index
time = entry->ChildDataL(entries->At(0)).iDate;
//弹出对话框,有首信息接收人的号码信息
CAknInformationNote* informationNote = new (ELeave) CAknInformationNote;
informationNote->ExecuteLD(entry->ChildDataL(entries->At(0)).iDetails);
CleanupStack::PopAndDestroy(2);
我用这段读取短消息部分内容,能读出来.但是读出来的东西在收件箱里找不到,这是什么訽因???
我试过其他的箱,也是不行,能读出来就是在信箱里找不到对应的sms.
why?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules