hi, guys,
please help out.
if you want to block a message based on the sender's number, probably you
would code like this as I did,
cursor = context.getContentResolver().query(...., malicious_number, ...);
Uri mUri = Uri.parse("content://sms/" + cursor.getString(0));
context.getContentResolver().delete(mUri, null, null);
Those code works sometimes on the HTC Hero + Android 2.1, preventing the new
message showing in the Message app, but sometimes just doesn't. Even if it
works, the new message still trigger a notification and a ring sound. That
is not what we call blocking, isn't it?
So, is there any to target and block a message *silently*?
Thank you.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en