Sunday, February 12, 2012

[android-developers] Why doesn't Android API publicly allow to listen for incoming SMS?

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

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment