×

Discussion Board

Results 1 to 5 of 5

Thread: send text sms

  1. #1
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    106

    send text sms

    how to send text sms in symian c++?
    j2me

  2. #2
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    135

    Re: send text sms

    Quote Originally Posted by sonia1986 View Post
    how to send text sms in symian c++?
    http://wiki.forum.nokia.com/index.ph...aging_Articles

    please go through above link.

    Thanks,
    Regards,
    Santhosh.

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: send text sms

    Have you really thought that you are the very first person who has wanted to send an SMS in Symbian C++ ever?

  4. #4
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    106

    Re: send text sms

    Quote Originally Posted by chatrapati.nokia.santhosh View Post
    http://wiki.forum.nokia.com/index.ph...aging_Articles

    please go through above link.

    Thanks,
    Regards,
    Santhosh.
    void CAppUi::SendSMSL()
    {
    RSendAs sendAs;
    TInt err = sendAs.Connect();
    if (err) {
    // TODO: Error handling
    return;
    }
    CleanupClosePushL(sendAs);

    RSendAsMessage sendAsMessage;
    sendAsMessage.CreateL(sendAs, KUidMsgTypeSMS);
    CleanupClosePushL(sendAsMessage);

    // Add the receiver
    _LIT(KReceiver, "+358123123123");
    sendAsMessage.AddRecipientL(KReceiver, RSendAsMessage::ESendAsRecipientTo);

    // Set the body text
    _LIT(KBodyText, "Hello!");
    sendAsMessage.SetBodyTextL(KBodyText);

    // Send the message
    sendAsMessage.SendMessageAndCloseL();

    CleanupStack::Pop(); // sendAsMessage (already closed)
    CleanupStack::PopAndDestroy(); // sendAs

    _LIT(KInfoText, "Message sent.");
    iAppView->LogPrintL(KInfoText);
    }

    iAppView->LogPrintL(KInfoText); this line give error in s60 3rd edition sdk how to show alert instead this(iAppView)...
    j2me

  5. #5
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: send text sms

    Quote Originally Posted by sonia1986 View Post
    iAppView->LogPrintL(KInfoText); this line give error in s60 3rd edition sdk how to show alert instead this(iAppView)...
    Search for showing notes on Forum Nokia Wiki.
    Nokia Developer Wiki Moderation team

Similar Threads

  1. Phone models that send SMS in text mode
    By codrojac in forum General Messaging
    Replies: 1
    Last Post: 2007-09-27, 11:32
  2. Send SMS
    By jmv_ in forum General Messaging
    Replies: 0
    Last Post: 2007-09-25, 16:30
  3. Can't send & receive SMS using 8310 & SDK 30
    By iwanp in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2004-04-16, 13:23
  4. Howto send LF in text mode SMS
    By Royessers in forum General Messaging
    Replies: 2
    Last Post: 2003-06-12, 09:47
  5. Track if a sms is a response to a sms I send
    By tuender in forum General Messaging
    Replies: 1
    Last Post: 2002-07-19, 07:47

Posting Permissions

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