by Ralph Bergmann » Fri, 14 May 2010 16:18:17 GMT

Sponsored Links

I have a question about the "content://sms/" provider.

I use it in my app but can't find any official documentation about it :-(

Is it to old? Or to new? Can I use it or is it deprecated and will 
removed in future?




by Mark Murphy » Fri, 14 May 2010 18:18:54 GMT


It is not supported. It may not work on some devices. It may not work in
future versions of Android.


Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://github.com/commonsguy 
 http://commonsware.com/blog  |  http://twitter.com/commonsguy 

Android Training...At Your Office:  http://commonsware.com/training 


Sponsored Links


by Mike dg » Sun, 16 May 2010 01:13:33 GMT

 It may also not work with third part SMS apps.



by Jesper » Thu, 08 Jul 2010 02:33:13 GMT

 Is there any official way of reading sms? I have been reading on some
pages and seems it was removed without any information on why, and it
has not been replaced with something new. What would be the reason of
removing it? hard to believe it is security if they left a
undocumented provider that is still usable.
Any thoughts?



by Mark Murphy » Thu, 08 Jul 2010 03:02:52 GMT


You would have to ask the developer of each SMS application on each
phone that question.

For the Messaging application, there is no documented and supported
content provider for that client. And, that's not the only client.

Sometimes, it it because they are not ready to support the interface
for the next decade-plus.

Sometimes, it is because they want to give OEMs the freedom to replace
AOSP apps and do not want to tie the OEMs hands by forcing them to
implement certain APIs.

Sometimes, it is a matter of engineering priorities.

And, of course, as you note, sometimes it is tied to security.

There are probably other reasons as well -- those are the four I know
off off the top of my cold-fogged head.

Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://github.com/commonsguy 
 http://commonsware.com/blog  |  http://twitter.com/commonsguy 

_Android Programming Tutorials_ Version 2.8 Available!


Other Threads

1. If your hosting your own .apk

There are a number of reports of people having problems downloading apks 
directly from websites, so I'm putting together a list of tips for 
hosting your own app at;


If anyone has anything they think should be added please let me know.



2. How to catch global events?

Hi all,

I want to write an application that monitors each and every keystroke
or move event that the user does on his phone.
How can i catch global events such as key strokes or motion events?
The point is catching them globally and not from within my application
-because my application will run in the background.



3. Query about Content Provider queries

4. difference in android SDK version 0.9beta and 1.0

5. Content Provider for Drafts

6. IPC in dalvik api

7. Display multiple videos at the same time in Android r1.