×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    104

    Smile Create Local MMS

    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
    Registered User
    Join Date
    Jan 2009
    Posts
    36

    Re: Create Local MMS

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

  3. #3
    Registered User
    Join Date
    Aug 2006
    Posts
    104

    Re: Create Local MMS

    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
    Join Date
    Aug 2006
    Posts
    104

    Re: Create Local MMS

    hi all

    problem is solved


    regards
    preethi

  5. #5
    Registered User
    Join Date
    Mar 2009
    Posts
    1

    Re: Create Local MMS

    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
    Registered User
    Join Date
    Oct 2007
    Posts
    10

    Re: Create Local MMS

    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
    Join Date
    Nov 2008
    Posts
    4

    Re: Create Local MMS

    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
    Join Date
    Apr 2008
    Posts
    68

    Re: Create Local MMS

    can u share code here?

  9. #9
    Registered User
    Join Date
    Dec 2009
    Posts
    8

    Question Re: Create Local MMS

    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
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Create Local MMS

    try entry.SetUnread(EFalse);

  11. #11
    Registered User
    Join Date
    Dec 2009
    Posts
    8

    Re: Create Local MMS

    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
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Create Local MMS

    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
    Join Date
    Dec 2009
    Posts
    8

    Re: Create Local MMS

    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
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Create Local MMS

    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
    Join Date
    Dec 2009
    Posts
    8

    Re: Create Local MMS

    hi skumar_rao

    can you please explain this in more detail?

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
  •