Android - Contact ListView with Name & Number


Author: Indragni Soft Solutions
27660 View
4m 56s Lenght
38 Rating


Android - Contact ListView with Name & Number Subscribe To My Channel and Get More Great Tutorials http://www.youtube.com/subscription_center?add_user=sandeepbhandari1 Ask me A Question http://bit.ly/1MBekaP In this tutorial we are going to see how to get Contact Information on your own Android App. We are going to make an app that will pull data from Contact and show in ListView. Of course you can customize the display of the Contact List for example you can use TextView to show the pulled data. In this example we will display contact name and phone number but you can query for more information for example Email address or contact Images that you might have assigned to your contacts. Combined ListView of Images, Contact name and phone number makes your ListView look good Dynamically add contacts name and number in a ListView in android application by using code.The source code is available at: http://www.indragni.com/android/ContactListViewWithName&Number.zip Subscribe To My Channel and Get More Great Tutorials http://www.youtube.com/subscription_center?add_user=sandeepbhandari1 Ask me A Question http://bit.ly/1MBekaP ----------------------------------------­------------ Stay connected to Indragni Soft Solutions: Website: http://www.indragni.com Facebook: https://www.facebook.com/javaexper Twitter: https://twitter.com/indragnisoft Google+: https://plus.google.com/u/0/b/114543155372255472922/114543155372255472922/posts?pageId=114543155372255472922 Android - Contact ListView with Name & Number


Comments

  1. hey could you please help, i made a listview with contacts and i want to know how to set a call intent for the user to call the selected contact from listview.

    thank you for your awesome tutorials
  2. Great video, very helpful. This video enabled me to view my contacts in my list view, without help needed from any other sources.
  3. Nice tut.how to add header view for contact
  4. HEY GUYS...PLEASE READ....I have a solution if you are getting an error that says "your contact must be list view whose id attribute is android.R.id.list." This is due because of the setContentView line of code needs to be deleted or set the content view to your list activity. Mine was setContentView(android.R.layout.list_content);
    I hope this helps
  5. i dont know why but when i run the appliction with the emulator its wirte to me "unfortunately "name app" has stopped"

    please help !!
  6. Let's say my galaxy s6 breaks or lost, before I get another phone and access the cloud, how can I have a hard copy of my contacts, showing names with phone numbers on the same page? Possibly 50 contacts on a given page....
  7. can you adapt the basic code into a card view for lollipop?
  8. nice tutorial. very helpful
  9. Can anybody tell me what is there in the integer array to?
    text1, text2 are what?
  10. How do I add the contacts photo to be included in the list view with the name and number? Also great tutorial and thanks!
  11. So simple and straight-forward! thanks!
  12. what to do when we have multiple numbers under one contact name.
  13. when ever i debug in my real device it will crashed , so is there any solution.. ???
  14. is there a way i can add an onitemclick listener that saves the name/number to a variable?  
  15. too helpful...thank you sir
  16. thaaaank you so much!!!!!