Search code examples
androidandroid-contentprovider

Android: Documentation for ContentProviders


One of my problem is that I often cannot find the right information/documentation for a certain thing. For this question: the Content Provider "syntax" for google applications, for example:

  • gmail (=> content://gmail-ls/XXX)
  • chat (=> content://im/chats)

I have seen these on certain places, but I don't know where it's documented. Where do I look this up?


Solution

  • The ones you list are not documented. They are not part of the Android SDK. Developers should not be using them. And, at least for Gmail, developers can no longer use them as of one of the Android 2.3 patch releases.

    If you do not find reference to a ContentProvider in the SDK (typically in the android.provider package), then it is not part of the SDK.