Hi all,
I want to create a Local MMS,as we can create Local SMS,which comes to the same inbox itself from which it has been sent .
If any one worked on this ,kindly provide me with the code snippet.
Thanks&Regards
Preethi
Hi all,
I want to create a Local MMS,as we can create Local SMS,which comes to the same inbox itself from which it has been sent .
If any one worked on this ,kindly provide me with the code snippet.
Thanks&Regards
Preethi
Hi,
Could you clarify what is Local SMS?
Thanks in advance....![]()
Hi,
Local SMS means the message which we can create in our inbox.
Link to refer for Local SMS:
http://wiki.forum.nokia.com/index.php/Create_Local_SMS
regards
preethi
I tried to create a local mms in KMsvLocalServiceIndexEntryId and then move it to the inbox, but still got error ... any tip?
Hi Preeti,
Is it possible for you to share you code snippet on how you resolved this problem, I'm having the same issue as well. Your kind help is highly appreciated.
Thank you very much.
Regards,
Kuhen
Hi all,
i successfully created local sms in my Inbox folder but unfortunately i got sound and vibration while Receiving , is there any way to hide sound ,vibration without changing profile?
try entry.SetUnread(EFalse);
HI skumar_rao,
Thanks for your reply, but it wont worked i noted down my code which one is i used
Regards ,Code:iMtmRegistry = CClientMtmRegistry::NewL(*iSession); iSmsMtm = STATIC_CAST( CSmsClientMtm*, iMtmRegistry->NewMtmL(KUidMsgTypeSMS)); iSmsMtm->SwitchCurrentEntryL( aFolder ); iSmsMtm->CreateMessageL( KUidMsgTypeSMS.iUid ); CSmsHeader& iHeader = iSmsMtm->SmsHeader(); iHeader.SetFromAddressL(aRecipientNumber); CRichText& body = iSmsMtm->Body(); body.Reset(); body.InsertL( 0, aMessageText ); TMsvEntry entry = iSmsMtm->Entry().Entry(); entry.SetInPreparation(EFalse); entry.SetVisible(ETrue); entry.iDate.HomeTime(); entry.SetNew(EFalse); entry.SetUnread(EFalse); iSmsMtm->Entry().ChangeL(entry); iSmsMtm->SaveMessageL();
jeyaprakash.c
try modifying your code to add
Code:entry.SetComplete(ETrue); entry.SetInPreparation(EFalse); entry.SetNew(EFalse); entry.SetReadOnly(ETrue); entry.SetSendingState(KMsvSendStateNotApplicable); entry.SetUnread(EFalse); entry.SetVisible(ETrue);
Hi skumar_rao
thanks again , its fixed ,its my fault i added additional code for reciving sms with in that class and i set
entry.SetNew( ETrue );
entry.SetUnread( ETrue );
entry.SetVisible( ETrue );
for every incoming sms,
skumar_rao one more query is how to filter messages created by my application is it possible to set any identification for local sms?
try adding some info to data fields.skumar_rao one more query is how to filter messages created by my application is it possible to set any identification for local sms?
hi skumar_rao
can you please explain this in more detail?