Hi I am creating a contact based application.In that i have a text view in that I want load the contacts from phone at the time of editing the text view.
嗨我正在创建一个基于联系人的应用程序。我有一个文本视图,我想在编辑文本视图时从手机加载联系人。
Please any one help me how to do this Thanks in Advance
请任何人帮我如何做到这一点在此先感谢
1 个解决方案
#1
0
you can use a TextWatcher to get notified when the editing starts. For more information on how to query contacts you can take a look at the contacts tutorial provided at http://blog.app-solut.com/2011/03/working-with-the-contactscontract-to-query-contacts-in-adroid/ its about how to query all contacts and basic information on contacts.
您可以使用TextWatcher在编辑开始时收到通知。有关如何查询联系人的更多信息,您可以查看http://blog.app-solut.com/2011/03/working-with-the-contactscontract-to-query-contacts-in上提供的联系人教程。 -adroid /它关于如何查询联系人的所有联系人和基本信息。
#1
0
you can use a TextWatcher to get notified when the editing starts. For more information on how to query contacts you can take a look at the contacts tutorial provided at http://blog.app-solut.com/2011/03/working-with-the-contactscontract-to-query-contacts-in-adroid/ its about how to query all contacts and basic information on contacts.
您可以使用TextWatcher在编辑开始时收到通知。有关如何查询联系人的更多信息,您可以查看http://blog.app-solut.com/2011/03/working-with-the-contactscontract-to-query-contacts-in上提供的联系人教程。 -adroid /它关于如何查询联系人的所有联系人和基本信息。