Android - display specific contacts information

Posted by Donal Rafferty on Stack Overflow See other posts from Stack Overflow or by Donal Rafferty
Published on 2010-03-29T09:04:00Z Indexed on 2010/03/29 9:13 UTC
Read the original article Hit count: 340

Filed under:
|
|
|
|

In my application when a user clicks on a button I want to open the contacts application and display a particular contacts information.

At the minute I have this:

Intent intent = new Intent(Intent.ACTION_VIEW, People.CONTENT_URI);
startActivity(intent);

This displays the contact application with all the contacts displayed.

But how do I get it to display just one contact according to the contacts name or number?

© Stack Overflow or respective owner

Related posts about android

Related posts about contacts