×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    2

    Copy SMS so I can reply to it - newbie!

    I'm trying to figure out how to receive, read and reply to an SMS automatically. I'm playing with the SMSSEND example that came with the SDK and I'm able to receive a message and then open the reply window automatically when the message is received. The problem I'm having is copying the original message information into the reply so I can send it back. Below is a snippet of code where I'm trying to copy and reply but it's bombing out on the CopyL portion giving me an MSV Error 61 and I have no idea what to do. I should also mention I'm real rusty with C++.

    I've played around with two different ways to COPY but they both fail at runtime. They both compile just fine though. Thanks for any help you can give!

    TRequestStatus iStatus;
    TMsvPartList aPartlist( KMsvMessagePartRecipient );
    TMsvId newEntryId;

    //serverEntry->CopyL(clientMtm->Entry().EntryId(), entryId, iStatus);
    //serverEntry->CopyL(*iSelection, newEntryId, iStatus);
    iOperation = ui->ReplyL(newEntryId, aPartlist, iStatus);

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,144

    Re: Copy SMS so I can reply to it - newbie!

    you could also just read the body & adressee (remember to load the message before accessing these) and use them with CSendAppUi for replying. Should at least work, and is pretty easy to implement.

    yucca

  3. #3
    Registered User
    Join Date
    Nov 2005
    Posts
    2

    Re: Copy SMS so I can reply to it - newbie!

    Okay thanks, I'll give that a try. Of course I've only been messing around with Symbian for 3 days now and re-learning C++ from scratch. In other words, do you have a code snippet you could paste in to give me a better understanding of what I need to do? :-)

  4. #4
    Registered User
    Join Date
    Jan 2006
    Posts
    11

    Re: Copy SMS so I can reply to it - newbie!

    Did you manage to get this working? I am having the same problems.

    Steve

Similar Threads

  1. Checking the reply of SMS
    By s150588 in forum Symbian
    Replies: 1
    Last Post: 2004-07-19, 11:30
  2. Checking the reply of SMS, again
    By s150588 in forum Symbian
    Replies: 2
    Last Post: 2004-07-19, 11:25
  3. Receiving SMS reply
    By psmshankar in forum General Messaging
    Replies: 1
    Last Post: 2002-09-23, 05:28
  4. Receiving SMS reply
    By psmshankar in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2002-09-20, 08:40
  5. Receiving SMS reply
    By psmshankar in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2002-09-20, 08:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •