Exact Difference between “Content-Provider” and “SQLite Database”

后端 未结 9 1653
名媛妹妹
名媛妹妹 2020-12-04 06:59

i have done SQLite database programming for Android, but i dont know anything about Content-Provider except this: \"As i have referred Android Developer page , Android SDK e

9条回答
  •  伪装坚强ぢ
    2020-12-04 07:54

    Think of advanced Content Management Systems. Each object (page, image, news article, event item, etc.) has a content, an address, user permissions, and ways to interact with it from different parts of the system. Content Providers do that for Android. You can now share files or images you may have stored in your application. You can also create custom sharable objects, like bussiness contacts, editable notes, etc. And specify security and the default application to deal with such object when you open them from any other application.

提交回复
热议问题