I am developing a gps tracking app in android. I am done with displaying the map n stuff. Now I want to make a button on top which when clicked would display the contacts, Then when I select the contact it should show me his or her location.
Please help me with this.
Thank you.
I am developing a gps tracking app in android. I am done with displaying
Share
You can set an Event on Button click by setting an
OnClickListeneron the Button with the following code, and use Intent to call ContactPicker activity:and in
onActivityResult()process the contact uri to load details of contact.