To create a new project in Android Studio please refer to How to Create/Start a New Project in Android Studio. We will use Java language for developing this project. Note that we have to give permission to our application to read our phone contacts. We will be building a simple application in which we will be displaying a Button and when we will click on that button, and it will add all saved contacts (their names and numbers) into ListView of our application. Overview Guides Reference Samples Design & Quality. What we are going to build in this article? Language English Bahasa Indonesia Español América Latina Português Brasil. This class has an API that provides a facility to read the columns which were returned from the query, as well as helps to iterate over the rows of the result set. Note: A Cursor is a class that contains the result set for a particular query that was made against a database in Android. So, in this article, we are going to learn how to develop an application that will read contacts. We can use that application for backup of our contacts. A content provider can use different ways to store its data and the data can be stored in a database, in files, or even over a network. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. Such requests are handled by the methods of the ContentResolver class. We all have a default application in our mobile to manage contacts but what happens if we will create our own application that will read all the saved contacts and will show them to the user. A content provider component supplies data from one application to others on request. However, nowadays, many other devices are incorporating android in them to turn them into smart devices such as Smart TVs, Smart car interface for GPS, electrical appliances, etc. Phone Contacts are very important source of data for everyone and hence accessing phone contacts is the main feature for many applications like Truecaller to help their users and provide them a better experience. What is Android Android is the Linux-based open-source operating system for mobile devices like smartphones & tablets. The tracker will disappear on any action outside the tracker or after a period of time. Touch the tracker to click with the cursor. Reach the top half of the screen by dragging the tracker using one hand in the bottom half.