In onCreate(), call startActivityForResult() on an ACTION_PICK Intent
for the ContactsContract content provider. That will then come onto
the screen. When the user picks a contact, your original activity will
come back onto the screen and be given the selected contact in
onActivityResult().

On Wed, Jul 6, 2011 at 11:57 PM, Bsweet <[email protected]> wrote:
> I want to use the built in functionality to select a contact as the
> first step in my application.
>
> 1. User clicks my app icon
> 2. Contact Select Appears
> 3. My Activity Appears
>
> How do I go about this?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to