×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    19

    Some questions about SMS

    1.Can I read a message before it goes into the inbox and play the recieved message alert? How can I do that? For example I want to check if the text message contains the keyword "A", if there's a "A" I would want to block it before it enters the inbox.

    2.Is there a fuction that can reply messages automatically? Like I recieved a message containing the word "A" and I would like the software to reply a message "ABCD" to the sender automatically without any work done by the user.

    Thanks very much!!!

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Some questions about SMS

    Yes you can do both in S60.

  3. #3
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    280

    Re: Some questions about SMS

    Quote Originally Posted by greymouse
    1.Can I read a message before it goes into the inbox and play the recieved message alert? How can I do that? For example I want to check if the text message contains the keyword "A", if there's a "A" I would want to block it before it enters the inbox.

    2.Is there a fuction that can reply messages automatically? Like I recieved a message containing the word "A" and I would like the software to reply a message "ABCD" to the sender automatically without any work done by the user.

    Thanks very much!!!
    Hi,

    The following examples will help you.

    \Symbian\8.0a\S60_2nd_FP2\Series60Ex\smssend
    SMSSend example that comes with the SDK

    and the SMS Example at

    http://www.forum.nokia.com/info/sw.n..._0_en.zip.html

    Regards.

  4. #4
    Super Contributor
    Join Date
    Jul 2006
    Location
    Oulu, Finland.
    Posts
    1,174

    Re: Some questions about SMS

    Look for the function MessageReceivedL( TMsvId aEntryId ) in the example referred by tina

    you can get the message contents as follows in the MessageReceivedL() function

    const TDesC& descp = entry.iDescription;
    TBuf8<160> MessageArrived;
    MessageArrived.Copy(descp);
    // now the descriptor contains the arrived message
    // Now you can compare the received message.

  5. #5
    Regular Contributor
    Join Date
    Nov 2005
    Location
    Aalborg, Denmark
    Posts
    296

    Re: Some questions about SMS

    I just wanted to know, are you successful in receiving the new SMS and intercept it without a "arrived message" tone plays? Using the MMsvSessionObserver class.

    If you are how do you do it?

  6. #6
    Super Contributor
    Join Date
    Jul 2006
    Location
    Oulu, Finland.
    Posts
    1,174

    Re: Some questions about SMS

    No i havent tried that, as my application doesn't require that facility. My application only needed to read the arrived message and react accordingly.

  7. #7
    Registered User
    Join Date
    Jan 2007
    Posts
    19

    Re: Some questions about SMS

    Thanks all!
    Is there a way that I can get the inbox and outbox view inside my software? What I'm trying to do is kind of make an enchancement to the current sms system, like adding some controls in the menu, but I hope to keep all the functions of the current system. Can you give me some advices? I'm just a beginner.
    Thanks again!

Similar Threads

  1. Read SMS/ SMS Alert.
    By nirenj in forum General Messaging
    Replies: 3
    Last Post: 2009-01-14, 12:39
  2. Replies: 2
    Last Post: 2007-11-10, 13:19
  3. disable the security questions when sending sms?
    By barfoos in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2005-10-21, 22:40
  4. Error sending SMS
    By jorge_c in forum Multimodecards
    Replies: 0
    Last Post: 2003-10-07, 11:53
  5. Beginner questions on SMS development
    By gavinho in forum General Messaging
    Replies: 1
    Last Post: 2002-05-06, 12:10

Posting Permissions

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