Android Developer Question:
Download Questions PDF

What are content providers?

Answer:

A ContentProvider provides data from one application to another, when requested. It manages access to a structured set of data. It provides mechanisms for defining data security. ContentProvider is the standard interface that connects data in one process with code running in another process.
When you want to access data in a ContentProvider, you must instead use the ContentResolver object in your application’s Context to communicate with the provider as a client. The provider object receives data requests from clients, performs the requested action, and returns the results.

Download Android Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me how does the activity respond when the user rotates the screen?Explain me difference between AsyncTasks & Threads?