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.
|