/[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 561 by torben, Thu Jan 28 08:55:19 2010 UTC revision 564 by torben, Thu Jan 28 09:16:33 2010 UTC
# Line 207  public class StationList extends ListAct Line 207  public class StationList extends ListAct
207                          if (loc != null) {                          if (loc != null) {
208                                  message.append( getString(stationlist_obtainedby) ).append( loc.getProvider() ).append("\n");                                  message.append( getString(stationlist_obtainedby) ).append( loc.getProvider() ).append("\n");
209                                  message.append( getString(stationlist_accuracy) ).append( (int)loc.getAccuracy()).append("m\n");                                  message.append( getString(stationlist_accuracy) ).append( (int)loc.getAccuracy()).append("m\n");
210                                  message.append( getString(stationlist_latitude) ).append( loc.getLatitude()).append("\n");                                  message.append( getString(stationlist_latitude) ).append( (float)loc.getLatitude()).append("\n");
211                                  message.append( getString(stationlist_longitude) ).append( loc.getLongitude() ).append("\n");                                  message.append( getString(stationlist_longitude) ).append( (float)loc.getLongitude() ).append("\n");
212                          } else {                          } else {
213                                  message.append( getString(stationlist_nolocation) );                                  message.append( getString(stationlist_nolocation) );
214                          }                                                }                      
# Line 577  public class StationList extends ListAct Line 577  public class StationList extends ListAct
577                          if (!favorites.contains(stationID)) {                          if (!favorites.contains(stationID)) {
578                                  menu.add(0, FAVORITES_ADD, 0, getString(stationlist_addfavorite) );                                  menu.add(0, FAVORITES_ADD, 0, getString(stationlist_addfavorite) );
579                          } else {                          } else {
580                                  menu.add(0, FAVORITES_REMOVE, 0, getString(stationlist_addfavorite) );                                  menu.add(0, FAVORITES_REMOVE, 0, getString(stationlist_removefavorite) );
581                          }                          }
582                                                    
583                  }                  }

Legend:
Removed from v.561  
changed lines
  Added in v.564

  ViewVC Help
Powered by ViewVC 1.1.20