2011-09-29 91 views
0

我的EditText和我的表單上的按鈕。如何從我的聯繫人上獲取手機號碼android編程

如何做到這一點:

當我按下我想打開我的所有聯繫人按鈕,

而當我拿起一個 - 我什麼,他的電話號碼將在EditText上

在此先感謝

+0

http://stackoverflow.com/questions/866769/how-to-call-android-contacts-list 的http://計算器.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-和姓氏 - 從 - Android的接觸 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/ –

回答

0

在這篇文章中,您可以閱讀聯繫人列表。 How to call Android contacts list? 有一些方法...

然後設置的EditText與聯繫人列表內容

無效的setText(CharSequence的文字,TextView.BufferType型) 設置此TextView的是要顯示的文本(請參閱setText(CharSequence)),並設置它是否存儲在可修改樣式/可擴展緩衝區中以及是否可編輯。

:-)

相關問題