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

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

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

revision 482 by torben, Thu Oct 29 09:38:13 2009 UTC revision 489 by torben, Thu Oct 29 14:20:16 2009 UTC
# Line 135  public class StationList extends ListAct Line 135  public class StationList extends ListAct
135                                    
136          }          }
137          protected void setTitle() {          protected void setTitle() {
138                  String dialogTitle;                  String dialogTitle = getResources().getString(R.string.app_name);
139                  switch (listType) {                  switch (listType) {
140                  case ListNearest:                  case ListNearest:
141                          dialogTitle = "Traininfo DK - Nearby stations";                          dialogTitle += " - Nearby stations";
142                          break;                          break;
143                  case ListSearch:                  case ListSearch:
144                          dialogTitle = "Traininfo DK - Search";                          dialogTitle += " - Search";
145                          break;                          break;
146                  case ListFavorites:                  case ListFavorites:
147                          dialogTitle = "Traininfo DK - Favorites";                          dialogTitle += " - Favorites";
148                          break;                          break;
149                  default:                  default:
150                          dialogTitle = "";//not possible                                                          dialogTitle = "";//not possible                                
# Line 190  public class StationList extends ListAct Line 190  public class StationList extends ListAct
190                  case OPTIONS_MAP:                  case OPTIONS_MAP:
191                                                    
192                          Intent intent = new Intent(this,StationMapView.class);                          Intent intent = new Intent(this,StationMapView.class);
                         intent.putExtra("userlocation", location );  
193                                                    
194                          ArrayList<GeoPair> stationPoints = new ArrayList<GeoPair>();                          ArrayList<GeoPair> stationPoints = new ArrayList<GeoPair>();
195                          for (StationBean st : stations ) {                          for (StationBean st : stations ) {

Legend:
Removed from v.482  
changed lines
  Added in v.489

  ViewVC Help
Powered by ViewVC 1.1.20