Reputation: 14953
i have EditText and button on my form.
how to do this:
when i press the button i want to open all my Contacts,
and when i pick one - i what that his phone number will be in the EditText
thanks in advance
Upvotes: 0
Views: 1201
Reputation: 2739
use this links May be it's useful for you.
http://developer.android.com/resources/samples/ContactManager/index.html
Upvotes: 1
Reputation: 71
In this post you can read contact list. How to call Android contacts list? there are some methods...
Then set EditText with contact list content
void setText(CharSequence text, TextView.BufferType type) Sets the text that this TextView is to display (see setText(CharSequence)) and also sets whether it is stored in a styleable/spannable buffer and whether it is editable.
:-)
Upvotes: 0