Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 112
Registered: ‎05-29-2009
My Device: Not Specified

Filtering sms for security

Hi all,

     I have read in other forums that we cannot delete the sms from the inbox programatically. That's ok

 

     But I want to filter some sms messeges. Means whenever the sms comes to my BB simulator, I want that if it has the content "Hello", then it shouldn't go to my inbox. (just for example it's given. Filter constraint may be vary).

 

     I have used notifyingIncomingMessage() for receiving the sms, So in this method what can i do so  that the messege can be aborted or sent to archieve like folder but not be gone to inbox folder.

 

    Can anyone help me?...Any help would be appreceated.

 

Regards,

Jyotin

Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: Filtering sms for security

This article will give you some clue. 

 

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/How_To_...


Use Search. "Accept Solution" If the problem is resolved.
Developer
Posts: 112
Registered: ‎05-29-2009
My Device: Not Specified

Re: Filtering sms for security

Yup..That's true..

 

But can the described solution prevent my sms to go into the inbox?? I dont want to send the sms to inbox anyhow...

 

Thanks

Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: Filtering sms for security

KB article tells it does not show the SMS in to inbox, I havn't tried. Probably some one who tried can confirm this.

Use Search. "Accept Solution" If the problem is resolved.
Developer
Posts: 112
Registered: ‎05-29-2009
My Device: Not Specified

Re: Filtering sms for security

@ BBDeveloper,

     In that KB article, there is written:

 

"To prevent this message from appearing in the BlackBerry device user’s inbox, the sending server should configure the SMS message so that the message type is a system message."

 

Do you know how to achieve this?...There is written something about Protocol Identifier & Digital coding scheme. Do you know about that?

 

Does Anybody have any idea???

 

Regards,

Jyotin

New Developer
Posts: 133
Registered: ‎12-31-2009
My Device: Not Specified

Re: Filtering sms for security

Hello Friends,

 

I also want to achieve the same. Please reply to this thread.

 

 

Thanks you

New Developer
Posts: 133
Registered: ‎12-31-2009
My Device: Not Specified

Re: Filtering sms for security

Hello Friends,

 

Somebody plz reply for this thread

 

Thank you

Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Filtering sms for security

You cannot filter general SMS messages out of the inbox.

 

You can only filter a message that is sent with specific atttributes, as outlined in the article referenced above. This is useful for filtering out "system notification" messages that are not meant fot the user, but not for filtering general messages traffic.