Hello,
I want to block incoming and outgoing Text (as well as email). I am using
the broadcast receiver that is not blocking the text but its blocking the
outgoing calls. Can some one help me. Thank you.

Here is the piece of code that blocks the SMS.
---------------------------------------------------------------------------------------------
public void onReceive(Context context, Intent intent)
    {
     mContext=this;
        String actionType = intent.getAction();

          if ((actionType.equals(Intent.ACTION_SEND)))
                         {
                     setResultData(null);   // I tried
with abortBroadcast();  this didn't work either
                         }

      }
-----------------------------------------------------------------------------------------------
My androidmanifest has all the permissions required.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to