java - How to show set locations in a google map and add navigate button -


i looking create map application. want show location user selects list , show here location is, add button on map user can navigate there current location 1 selected.

i have looked @ tutorials cannot find this.

anyone know might find tutorial shows or how can extend simple map show given location.

import com.ff.org.r; 

import com.google.android.maps.mapactivity; import com.google.android.maps.mapview;

public class locbrad extends mapactivity {

@override protected boolean isroutedisplayed() {     return false; }@override public void oncreate(bundle savedinstancestate) {     super.oncreate(savedinstancestate);     setcontentview(r.layout.map1);        mapview mapview = (mapview) findviewbyid(r.id.mapview);     mapview.setbuiltinzoomcontrols(true); } 

}

i wrote simple tutorial shows listview , mapview in 2 tabs (and 1 activity). in tutorial, when click location in listview, mapview zooms location.

it might start application. doesn't have button on map go next list item, since both mapview , listview in same activity, have reference list, , can zoom next item.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -