0

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

Gali
  • 14,511
  • 28
  • 80
  • 105
  • http://stackoverflow.com/questions/866769/how-to-call-android-contacts-list http://stackoverflow.com/questions/6253029/how-to-get-contacts-from-native-phonebook-in-android http://stackoverflow.com/questions/2205246/how-to-obtain-all-details-of-a-contact-in-android http://stackoverflow.com/questions/4301064/how-to-get-the-firstname-and-lastname-from-android-contacts http://stackoverflow.com/questions/5662473/how-to-import-contacts-from-phonebook-to-our-application http://stackoverflow.com/questions/1588378/android-contacts-extraction http://stackoverflow.com/questions/4338563/ – Vineet Shukla Sep 29 '11 at 07:56

2 Answers2

0

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.

:-)

Community
  • 1
  • 1
cnt000
  • 71
  • 4