Search code examples
androidandroid-contentprovider

Why should I use custom content provider in Android?


What are advantages of using custom content provider? Why such content provider is superior of plain class that wraps SQL queries?


Solution

  • Content providers can be used from other processes and are required by some mechanisms on Android like the global search. There are also some classes available that help you deal with content providers that save you some of the hassle of manging memory.