How to get Contact ListView with Name and Number in android app

0 1,790

Contact ListView with Name and Number

Hello in this tut I will show you, how you can get your phone book contact list in your app and can show Contact ListView with Name and Number in the app.we will extend our MainActivity to List activity and onCreate method we will define our piece of codes lines lets start 🙂

Main activity

Layout

in our layout we have just one listview with fill parent width and height.

AndroidManifest.xml

In AndroidManifest.xml we will set Permission to app read Contact from Phone book.

Download Source code

Comments

comments

Leave A Reply

Your email address will not be published.