title: Abort sms broadcast and/or delete received sms from inbox
body: <p>I am trying to write sms encryption tool. People using this tool will be able to chat without internet via sms and stay encrypted.
  The only thing I need is how to stop sms from particular number from getting into inbox folder, or delete sms notification and then delete sms from inbox.</p>
  
  <p>I googled a lot, but 
  <a href="https://stackoverflow.com/a/3875736/705297">https://stackoverflow.com/a/3875736/705297</a>
  this is not working. Broadcast is working, I see the log message that broadcastreceiver is launched, but it doesn't abort broadcast.</p>
  
  <p>Also I found lots of messages that it is impossible. So is it possible and how I can do that? I am using android 2.1 and higher. 
  Thanks</p>
  
  <p>Code (just tries to cancel all sms for testing purposes):
  Broadcast receiver:</p>
  
  <pre><code>  @Override
    public void onReceive(Context context, Intent intent)
    {
        abortBroadcast(); }
  </code></pre>
  
  <p>Part of manifest:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.RECEIVE_SMS" /&gt;
  
   &lt;receiver android:name=".SMSReceiver"&gt;
      &lt;intent-filter android:priority="1000"&gt;
          &lt;action android:name="android.provider.Telephony.SMS_RECEIVED" /&gt;
      &lt;/intent-filter&gt;
  &lt;/receiver&gt;
  </code></pre>