Re: [android-developers] AutoCompleteTextView for contacts

2014-01-23 Thread TreKing
On Thu, Jan 23, 2014 at 5:54 AM, Muhammad Rashid wrote: > But when I put any text like "m", it suggests all contacts with phoneType > mobile. Same if I put "h", it suggests all contacts with phoneType "home". > > But I want to get only suggestions for name and phoneNumber > not phoneType . > Wit

[android-developers] AutoCompleteTextView for contacts

2014-01-23 Thread Muhammad Rashid
Hi I would like to say that I am developing an android SMS app. I am using AutoCompleteTextView for contacts suggestions. Here I am using SimpleAdapter with three fields name, phoneNumber and phoneType. But when I put any text like "m", it suggests all contacts with phoneType mobile. Same if

[android-developers] AutoCompleteTextView for contacts

2009-01-16 Thread Miguel Paraz
Hi, How can I have a AutoCompleteTextView which autocompletes from the Contacts, the way the Messaging app does? It's possible to read the contacts from the Contacts provider, and use this for the AutoCompleteTextView's adapter. But, how does the Messaging app show two lines with the contact name