/[projects]/android/TrainInfo/src/dk/thoerup/traininfo/DepartureList.java
ViewVC logotype

Diff of /android/TrainInfo/src/dk/thoerup/traininfo/DepartureList.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1151 by torben, Thu Sep 16 17:13:51 2010 UTC revision 1152 by torben, Fri Oct 1 17:57:02 2010 UTC
# Line 295  public class DepartureList extends ListA Line 295  public class DepartureList extends ListA
295                  boolean res;                  boolean res;
296                  switch(item.getItemId()) {                  switch(item.getItemId()) {
297                  case MENU_MAP:                  case MENU_MAP:
298                          Uri uri = Uri.parse("geo:" + station.getLatitude() + "," + station.getLongitude());                          Uri uri = Uri.parse("geo:" + station.getLatitude() + "," + station.getLongitude() + "?z=16");
299                          startActivity( new Intent(Intent.ACTION_VIEW, uri));                          startActivity( new Intent(Intent.ACTION_VIEW, uri));
300                          res = true;                          res = true;
301                          break;                          break;

Legend:
Removed from v.1151  
changed lines
  Added in v.1152

  ViewVC Help
Powered by ViewVC 1.1.20