I don't know how you can block an sms message before it is received.

However, reading a SMS via Android can be done after it is received can be
done using a query on the SMS inbox. The SMSPopUp application for Android
does this and more. The sourcecode of this application can be found here
http://code.google.com/p/android-smspopup/source/browse/tags/SMSPopup+v0.9.93/src/net/everythingandroid/smspopup/SMSPopupUtils.java

For example, look at the getSmsDetails method in the SMSPopUp application.

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

Reply via email to