/[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 1072 by torben, Thu Sep 16 17:13:51 2010 UTC revision 1249 by torben, Thu Mar 31 17:39:20 2011 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;
# Line 406  public class DepartureList extends ListA Line 406  public class DepartureList extends ListA
406    
407                  @Override                  @Override
408                  protected Void doInBackground(Integer... params) {                  protected Void doInBackground(Integer... params) {
409                          departures = provider.lookupDepartures(params[0], DepartureList.this.arrival);                          departures = provider.lookupDepartures(params[0], DepartureList.this.arrival, "BOTH");
410                          return null;                          return null;
411                  }                  }
412                                    

Legend:
Removed from v.1072  
changed lines
  Added in v.1249

  ViewVC Help
Powered by ViewVC 1.1.20