Search needs to autocomplete previous entries

Bug #579381 reported by Kieran Fleming
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenSatNav
New
Medium
Kieran Fleming

Bug Description

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

Revision history for this message
Murphy (murphy2712+launchpad) wrote :

I'm actually working on this...

Revision history for this message
chris_debian (cjhandrew) wrote :

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

Cheers,

Chris.

Revision history for this message
chris_debian (cjhandrew) wrote :

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

Chris.

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

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

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.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.