Deleting an SMS as soon as it's received


Last Updated:

  1. nickf77

    nickf77 Well-Known Member This Topic's Starter

    Joined:
    Jul 16, 2010
    Messages:
    47
    Likes Received:
    3
    I know it may sound malicious, but trust me, it's not. It's for personal use only. The reason is, I get SMS updates from ESPN during every Phillies game, but I'd like to "turn them off" while I'm watching the game, so I only get updates when I'm away from the TV.

    I was just going to have a Broadcast Receiver that fires when a text is received, then I check the message contents to see if it's from ESPN. If it is, I delete it. I have no idea how to delete the message though. Any suggestions? Or better approaches I could take?
     

    Advertisement
  2. smbyers

    smbyers Member

    Joined:
    Mar 28, 2010
    Messages:
    8
    Likes Received:
    0
    You could just use handcent and ignore them for the duration of the game then remove them from the ignore list after it's over.
     
  3. nickf77

    nickf77 Well-Known Member This Topic's Starter

    Joined:
    Jul 16, 2010
    Messages:
    47
    Likes Received:
    3
    I've tried handcent and I cant really say I'm a fan. Is there any way to do it programmatically?
     

Share This Page

Loading...