From 03b52f348fadccf540da0a65f0651605228f5ba7 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Tue, 1 Jun 2010 07:25:29 +0000 Subject: [PATCH] fix some search issues git-svn-id: https://osmand.googlecode.com/svn/trunk@107 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8 --- .../src/com/osmand/ToDoConstants.java | 13 ++-- OsmAnd/res/layout/search_by_name.xml | 3 + OsmAnd/res/values/strings.xml | 4 + OsmAnd/src/com/osmand/OsmandSettings.java | 23 +++++- .../com/osmand/RegionAddressRepository.java | 4 + .../activities/search/SearchActivity.java | 2 +- .../search/SearchAddressActivity.java | 73 ++++++++++++++++--- .../search/SearchBuildingByNameActivity.java | 2 + .../search/SearchCityByNameActivity.java | 2 + .../search/SearchRegionByNameActivity.java | 8 ++ .../search/SearchStreetByNameActivity.java | 2 + 11 files changed, 116 insertions(+), 20 deletions(-) diff --git a/DataExtractionOSM/src/com/osmand/ToDoConstants.java b/DataExtractionOSM/src/com/osmand/ToDoConstants.java index 2a5c4c789d..165f65417b 100644 --- a/DataExtractionOSM/src/com/osmand/ToDoConstants.java +++ b/DataExtractionOSM/src/com/osmand/ToDoConstants.java @@ -11,6 +11,9 @@ public class ToDoConstants { */ public int DESCRIBE_ABOUT_AUTHORS = 8; + // TODO team : + // 1. write letters (UI/strings) + // TODO ANDROID // 25. POI search near to map location (show categories & type). Second cut. (implement incremental search) @@ -24,14 +27,13 @@ public class ToDoConstants { // 8. Enable change POI directly on map (requires OSM login) // 16. Support open street bugs api. // 20. Implement save track/route to gpx (?) +// 24. Show the whole street on map (when it is chosen in search activity). Possibly extend that story to show layer with streets. +// 25. Show opened/closed amenities. // TODO search story : // 2) Find intersection of streets - // 3) Shows progress dialog (?) - // 6) Show street on map - // 8) Show message (that user should input more than 2 symbols to get all) - // 9) Loading cities in another thread - // 10. fix bug with landscape layout (search address) + // 9) Loading cities (data) in another thread + // 10) fix bug with landscape layout (search address) // FIXME Bugs Android : @@ -53,6 +55,7 @@ public class ToDoConstants { // 6. Implement renaming/deleting street/building/city // 8. Implement basic transliteration version // 7. Implement saving bundle of tiles in different folder + // 9. Using Collator in all TreeSet/TreeMap/Comparators // 1. Download tiles without using dir tiles diff --git a/OsmAnd/res/layout/search_by_name.xml b/OsmAnd/res/layout/search_by_name.xml index 74b6c3fe36..fac952d58e 100644 --- a/OsmAnd/res/layout/search_by_name.xml +++ b/OsmAnd/res/layout/search_by_name.xml @@ -3,6 +3,8 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"> + +