Hi,
I got a sample code how to intercept SMS inbound message.  It is
really simple, and I really admire android make it so easy:

// declare the intercepter

        <receiver android:name=".SmsReceiver">
            <intent-filter>
                <action android:name=
                    "android.provider.Telephony.SMS_RECEIVED" />
            </intent-filter>
        </receiver>

public class SmsReceiver extends BroadcastReceiver
{
        @Override
        public void onReceive(Context context, Intent intent)
       {        
        }
}

However, there is a problem.  The message also shows in the system
inbox.  Is there a way really to intercept it (not let the system
receive it)?  Or is there any API I can remove it from system inbox as
soon as I read it from my program?

Thanks in advance.
Sean

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