BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   How To Read and Delete SMS without user interaction (http://www.blackberryforums.com/developer-forum/258882-how-read-delete-sms-without-user-interaction.html)

narasinga 04-09-2012 03:49 AM

How To Read and Delete SMS without user interaction
 
Hi Friends,

I want to make an application which reads the SMS which was sent by me from system to BB. and BB has to read the SMS and do the actual operation and application has to delete the read SMS . all this has to done with out user interaction.

Dougsg38p 04-09-2012 08:33 AM

Re: How To Read and Delete SMS without user interaction
 
AFAIK, you cannot delete SMS form the messages list. At least, I've never found a way to do it.

If you have control of the sender of the SMS (i.e. it is your system sending and you can control the flags in the message header), then you can mark the message as a "system" message, which will keep in from going into the messages list in the first place. You app would then listen for the SMS using the datagram interface, or the MessageListener interface.

narasinga 04-10-2012 01:19 AM

Re: How To Read and Delete SMS without user interaction
 
Hi,

I am the sender of the SMS and my clients are receiving the SMS and the application which was deployed in their mobile has to read the sms which was sent by me (My Unique number).

Is there any possiblity available?

Thank U.

Dougsg38p 04-10-2012 07:17 AM

Re: How To Read and Delete SMS without user interaction
 
See this knowledgebase article:

Use SMS to notify an application - BlackBerry Support Community Forums

narasinga 04-11-2012 01:17 AM

Re: How To Read and Delete SMS without user interaction
 
hi thanks for your answer.
Based on the link which you given the message wont visible to user. is this correct?

Thanks.

Dougsg38p 04-11-2012 10:14 AM

Re: How To Read and Delete SMS without user interaction
 
That's my understanding, although I have not implemented this.

narasinga 04-11-2012 11:18 PM

Re: How To Read and Delete SMS without user interaction
 
ok i will try and give the result.


All times are GMT -5. The time now is 09:43 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.