How to delete SMS from inbox in android programmatically?
Posted
by dmyung
on Stack Overflow
See other posts from Stack Overflow
or by dmyung
Published on 2009-01-07T04:25:01Z
Indexed on
2010/05/11
7:04 UTC
Read the original article
Hit count: 776
Just thought I'd ping this community to see if there's any knowledge on this issue.
On android phones SMS messages registered to applications also get sent to the device's inbox. However to prevent clutter, it'd be nice to be able to remove app specific SMS mesg's from the inbox to reduce the potential overflow of those messages.
Questions on other google groups on getting a definitive answer on a programmatic way to delete SMS messages from the android inbox don't seem to be pressing.
So the scenario:
- Android App startup.
- register SMS message types X,Y and Z
- messages P,Q,X,Y,Z stream in over the course of time, all deposited in inbox
- Android app detects receipt of X,Y,Z (presumably as part of the program interrupt event)
- process X,Y,Z
- Desirement!!! X,Y,Z are deleted from android inbox
Has it been done? Can it be done?
© Stack Overflow or respective owner