Thursday, June 10, 2010

[android-developers] Re: APIs to access email accounts or SMS/MMS messages

I can understand why this functionality was removed, but it's really
frustrating that I wasted several hours looking for a "dead" api.
Unless I'm missing something, the android documentation doesn't even
list it as deprecated.

Anyways, I had some success by registering a ContentObserver to the
content://sms/ ContentProvider. Its not officially supported but it
works, and it's not that hard to monitor SMS messages as they are
received and sent without stepping on the functionality of the default
Messaging app.

On Jun 7, 7:10 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> curtis wrote:
> > This tutorial is dead. The  android.provider.Telephony.SMS_RECEIVED
> > intent appears to have been removed sometime ago and it doesn't look
> > like its been replaced by anything comparable
>
> Correct, there is no way to receive SMS messages and stick to the SDK,
> unfortunately.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 3.1
> Available!

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