Search needs to autocomplete previous entries

Bug #579381 reported by Kieran Fleming on 2009-07-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kieran Fleming

Bug Description

When using text based search, we need to store these entries and bring them up later using the autocomplete widget

Murphy (murphy2712+launchpad) wrote :

I'm actually working on this...

chris_debian (cjhandrew) wrote :

Murphy wrote:
> I'm actually working on this...



chris_debian (cjhandrew) wrote :

Pushed-back. Needs re-assessing in line with other issues after 0.9 release.


summary: - Search need to autocomplete previous entries
+ Search needs to autocomplete previous entries
Changed in opensatnav:
milestone: 1.1 → 1.0
Kieran Fleming (kieran-fleming) wrote :

Are you still working on this? Otherwise I will give it a try.

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.

Murphy (murphy2712+launchpad) wrote :

Thanks for the code Neil.

I'm not working on it at the moment, you could do it Kerian.
Using Neil's code, you need to add a database and record the searched places.

A bonus could be to search in the contact addresses.

Changed in opensatnav:
assignee: Murphy (murphy2712+launchpad) → Kieran Fleming (kieran-fleming)
Changed in opensatnav:
milestone: 1.0 → 1.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers