Tag Archives: ContactsContract

Using Content Resolver to List Contacts – Android

By | October 30, 2018

Here is a simple example to list contacts in android using the Content Resolver. Note : You need to have two things before accessing contacts. 1. Contacts Permission in the Android Manifest 2. Ask Runtime permission from the user Code Here is our MainActivity that lists the contacts. MainActivity.java Adapter Class Below is the adapter… Read More »

How to delete a contact in android?

By | June 30, 2012

Hello all previously I have shown how to list all contacts in your phone and in another post I showed how to programatically create a contact in android. In today’s tutorial I will show you how to delete a contact in android programatically. This simple code does that.

Get All Details from Contacts in ANDROID.

By | June 14, 2012

Hi all.. In today’s post I will show you how to get all information from the ANDROID Contacts programatically. Just copy and paste this code to your mail java file and check the Logcat for output. Note : Make sure you add this permission to the AndroidManifest File. Download the complete android java source code… Read More »