Hi All,
I want to listen incoming SMS from a particular number and bypass it to my application rather than to native Device Inbox.
I am able to capture the SMS with particular message body, but how to capture SMS from particular number?
This is how i used for listen SMS with particular message tag.
Here i am using smsAddr.SetTextMatch(KMathTag); to get the message, but i need to get message from a particular number.Code:User::LeaveIfError(iReadSocket.Open(iSocketServ, KSMSAddrFamily, KSockDatagram, KSMSDatagramProtocol)); _LIT8 (KMathTag, "^~^/" ); // set match pattern TSmsAddr smsAddr; smsAddr.SetSmsAddrFamily(ESmsAddrMatchText); smsAddr.SetTextMatch(KMathTag); // put KNullDesC8 to catch all messages // bind the socket User::LeaveIfError(iReadSocket.Bind(smsAddr));
Please some one help me..
Thanks,
Srivatsan D



