Comment 5 for bug 579381

Revision history for this message
Neil Boyd (neilboyd) wrote :

Just to let you know, it's actually quite easy. All you need to do is write a class that extends AutoCompleteTextView and use that instead of the TextView where you enter the text. Let me share the code that I use in MySpeed (attached).

The onClickListener handles the results, including storing in the database.

getRoutingSuggestions searches the database for matching results.