/[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 500 by torben, Thu Nov 12 10:03:22 2009 UTC revision 720 by torben, Mon May 10 19:36:43 2010 UTC
# Line 9  import android.view.Window; Line 9  import android.view.Window;
9  import android.view.View.OnClickListener;  import android.view.View.OnClickListener;
10  import android.widget.Button;  import android.widget.Button;
11    
12    import com.nullwire.trace.ExceptionHandler;
13    
14    import dk.thoerup.checkupdates.CheckUpdates;
15    
16  public class WelcomeScreen extends Activity{  public class WelcomeScreen extends Activity{
17          public enum ListType {          public enum ListType {
18                  ListNearest,                  ListNearest,
# Line 33  public class WelcomeScreen extends Activ Line 37  public class WelcomeScreen extends Activ
37                                    
38                  Button aboutButton = (Button) findViewById(R.id.about);                  Button aboutButton = (Button) findViewById(R.id.about);
39                  aboutButton.setOnClickListener( new AboutListener() );                  aboutButton.setOnClickListener( new AboutListener() );
40                    
41                    ExceptionHandler.register(this, "http://t-hoerup.dk/android/trace.php");
42                    
43                    CheckUpdates update = new CheckUpdates();
44                    update.checkForUpdates(this, "http://t-hoerup.dk/android/traininfo/version.txt", "TrainInfo DK");
45          }          }
46                    
47          class AboutListener implements OnClickListener {          class AboutListener implements OnClickListener {

Legend:
Removed from v.500  
changed lines
  Added in v.720

  ViewVC Help
Powered by ViewVC 1.1.20