×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2004
    Posts
    2

    Checking the reply of SMS

    Hei,


    I want to make an application that sends a sms and then checks the reply sms. It depens on the body of the reply message wheter the sent sms is accepted or not.

    I have written the code by using the GDSMS example. Here is an example:


    TInt SMSSenderAndReceiver::sendSMS(const TDesC& aPhoneNumber, const TDesC& aContent, CJackPaymentAppView* iSMSListener)
    {
    iSMSReceived = false;
    InitializeCommunicationsL();
    SendMessageL(aPhoneNumber, aContent);
    TInt tmp = 0;
    TBuf<4> line;
    // Tarkistetaan 5 sekuntin valein, onko saatu paluu-SMS
    // Odotetaan kaikenkaikkiaan kaksi minuuttia
    while (tmp < 2) {
    // Nukutaan 5 sekuntia
    //line.Num(tmp);
    //CEikonEnv::Static()->InfoMsg(_L("line"));
    User::After(20000000);
    tmp++;
    if (iSMSReceived == true) {
    return 0;
    }
    }
    return 1;
    }

  2. #2
    Registered User
    Join Date
    Jul 2004
    Posts
    166
    Hi

    I want to develop app that send sms automatically.

    can you gibve me code that send sms.

    form where you get GDSMS app. can you give me that code.
    at
    kunal@programmer.net

Posting Permissions

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