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

Diff of /android/TrainInfo/src/dk/thoerup/traininfo/WelcomeScreen.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 484 by torben, Thu Oct 29 11:38:58 2009 UTC
# Line 40  public class WelcomeScreen extends Activ Line 40  public class WelcomeScreen extends Activ
40                  @Override                  @Override
41                  public void onClick(View v) {                  public void onClick(View v) {
42                                                    
43                            String appName = WelcomeScreen.this.getResources().getString(R.string.app_name);
44                            String ver = WelcomeScreen.this.getResources().getString(R.string.app_version);                
45                                                    
46                          MessageBox.showMessage(WelcomeScreen.this, "about");                          StringBuffer message = new StringBuffer();
47                            message.append(appName);
48                            message.append(" v").append(ver).append("\n");
49                            message.append("By Torben H. Nielsen\n");
50    
51                            MessageBox.showMessage(WelcomeScreen.this, message.toString());
52                  }                  }
53                    
54          }          }
55            
56          class StationListListener implements OnClickListener{          class StationListListener implements OnClickListener{
57                  ListType launchType;                  ListType launchType;
58                  StationListListener(ListType type) {                  StationListListener(ListType type) {

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

  ViewVC Help
Powered by ViewVC 1.1.20