Why should I use a custom content provider in Android?

What are the benefits of using a custom content provider? Why is such a content provider superior to a simple class that wraps SQL queries?

+5
source share
2 answers

Content providers can be used from other processes and are required by some mechanisms on Android, such as global search. There are also some classes available to help you deal with content providers that will save you the hassle of managing memory.

+5
source
  • Other applications will be able to access your data.

  • .

  • , , .

+3

All Articles