views:

42

answers:

1

Is it possible to create a custom dictionary for an edittext? In other words, can I create a custom list and have the edittext only suggest names from that list? I don't need it popping up useless word suggestions when the user is inputting specific names of people.

A: 

Please refer to this link.

http://developer.android.com/intl/de/resources/samples/SearchableDictionary/index.html

They would have implemented content provider to provide a custom input to the quicksearch. You can try taking a similar approach where in you can make a query and update the result when a user enters each alphabet in your EditText box.

Rahul