Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Registered User preethi's Avatar
    Join Date
    Aug 2006
    Posts
    104
    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

  2. #2
    Hi,
    Could you clarify what is Local SMS?
    Thanks in advance....

  3. #3
    Registered User preethi's Avatar
    Join Date
    Aug 2006
    Posts
    104
    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

  4. #4
    Registered User preethi's Avatar
    Join Date
    Aug 2006
    Posts
    104
    hi all

    problem is solved


    regards
    preethi

  5. #5
    Registered User spoolish's Avatar
    Join Date
    Mar 2009
    Posts
    1
    Quote Originally Posted by preethi View Post
    hi all

    problem is solved


    regards
    preethi
    hi~,preethi,
    can you tell me how did you resolve the problem?

    I will very appreciate for it!

  6. #6
    I tried to create a local mms in KMsvLocalServiceIndexEntryId and then move it to the inbox, but still got error ... any tip?

  7. #7
    Registered User jkuhen's Avatar
    Join Date
    Nov 2008
    Posts
    4
    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

  8. #8
    Regular Contributor Mark070508's Avatar
    Join Date
    Apr 2008
    Posts
    68
    can u share code here?

  9. #9
    Registered User jeyaprakash.c's Avatar
    Join Date
    Dec 2009
    Posts
    8
    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?

  10. #10
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    try entry.SetUnread(EFalse);

  11. #11
    Registered User jeyaprakash.c's Avatar
    Join Date
    Dec 2009
    Posts
    8
    HI skumar_rao,

    Thanks for your reply, but it wont worked i noted down my code which one is i used
    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();
    Regards ,
    jeyaprakash.c

  12. #12
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    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);

  13. #13
    Registered User jeyaprakash.c's Avatar
    Join Date
    Dec 2009
    Posts
    8
    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?

  14. #14
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    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.

  15. #15
    Registered User jeyaprakash.c's Avatar
    Join Date
    Dec 2009
    Posts
    8
    hi skumar_rao

    can you please explain this in more detail?

Page 1 of 2 12 LastLast

Similar Threads

  1. What is MMS, EMS
    By roby2411 in forum General Messaging
    Replies: 0
    Last Post: 2006-12-24, 15:26
  2. how to create MMS message?
    By pehyun in forum General Messaging
    Replies: 1
    Last Post: 2004-03-19, 07:52
  3. How to create MMS
    By linjunan in forum General Messaging
    Replies: 0
    Last Post: 2004-02-01, 16:55
  4. Nokia experts, Please help!!! - MMS newbie
    By mc123 in forum General Messaging
    Replies: 5
    Last Post: 2003-05-21, 22:01
  5. How can I create a mms file with Chinese GB subject
    By guof in forum General Messaging
    Replies: 1
    Last Post: 2003-05-21, 03:56

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved