Yes, I know it and I already wrote it in my question :) I was aksing why it was removed from the official documentation? This way one can't be guaranteed that it works
2012/2/13 DONG HONGJIE <[email protected]> > Usually Broadcast Receiver is used to listen to incoming sms, put > "android.provider.Telephony.SMS_RECEIVED" as your intent filter and your > receiver will catch it. > > > On Sun, Feb 12, 2012 at 2:21 AM, Raffaele Sgarro <[email protected] > > wrote: > >> Recently a question on SO ported this to my attention. Android doesn't >> have a public API for listening to incoming SMS. There used to be an action >> android.provider.Telephony.SMS_RECEIVED, but it has been removed from >> the official API and even if it still works, it's obviously not >> future-proof. I don't need this feature right now, but I may in the future, >> and I find it very strange it's not available because: >> >> 1. Android has always encouraged the deep customization of every >> little part of the system (think of tha launcher, the dialer, the contact >> app) >> 2. There are plenty of alternatives to the standard SMS app already >> in the Market (not to mention the vendors' ones) >> >> Maybe I am missing something or maybe there's a technical reason - I >> admit not know how SMS works >> >> Originally posted on StackOverflow<http://stackoverflow.com/q/9243059/315306> >> >> -- >> 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 > > > -- > 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 > -- 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

