What it takes is:

- Extending AutoCompleteTextView or MultiAutoCompleteTextView
- Providing a suitable adapter

Take a look at the built-in Email app:

http://www.grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android-apps/2.3.7_r1/com/android/email/activity/AddressTextView.java?av=f

Or else take a look at K-9, you can also browse its source repository online.

-- Kostya

16 января 2012 г. 1:34 пользователь sblantipodi
<[email protected]> написал:
> Hi,
> I have an EditText, I would like to activate autocomplete on it.
>
> Something that help user to autocomplete with the correct email
> address.
>
> Is there some code snippet I can read on how to do it?
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to