Android Developer Question:
Download Questions PDF

What is access data using Content Provider:

Answer:

Start by making sure your Android application has the necessary read access permissions. Then, get access to the ContentResolver object by calling getContentResolver() on the Context object, and retrieving the data by constructing a query using ContentResolver.query().
The ContentResolver.query() method returns a Cursor, so you can retrieve data from each column using Cursor methods.

Download Android Developer Interview Questions And Answers PDF

Previous QuestionNext Question
What is activity Context?Tell us how would you update the UI of an activity from a background service?