/[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 400 by torben, Fri Oct 2 10:49:00 2009 UTC revision 401 by torben, Tue Oct 6 19:13:34 2009 UTC
# Line 140  public class StationList extends ListAct Line 140  public class StationList extends ListAct
140                  case OPTIONS_ABOUT:                  case OPTIONS_ABOUT:
141                          String ver = this.getResources().getString(R.string.app_version);                          String ver = this.getResources().getString(R.string.app_version);
142                                                    
143                            Location loc = locator.getLocation();
144                          StringBuffer message = new StringBuffer();                          StringBuffer message = new StringBuffer();
145                          message.append("TrainInfo DK v").append(ver).append("\n");                          message.append("TrainInfo DK v").append(ver).append("\n");
146                          message.append("By Torben Nielsen\n");                          message.append("By Torben Nielsen\n");
147                            message.append("\n");
148                            message.append("Location info:\n");
149                            message.append("-Obtained by: ").append(loc != null ? loc.getProvider() : "-").append("\n");
150                            message.append("-Accuracy: ").append(loc != null ? (int)loc.getAccuracy() : "-").append("m\n");
151    
152                          MessageBox.showMessage(this, message.toString());                          MessageBox.showMessage(this, message.toString());
153                          break;                          break;

Legend:
Removed from v.400  
changed lines
  Added in v.401

  ViewVC Help
Powered by ViewVC 1.1.20