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

Diff of /android/TrainInfo/src/main/java/dk/thoerup/traininfo/WelcomeScreen.java

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

revision 1626 by torben, Fri Nov 25 09:16:29 2011 UTC revision 1714 by torben, Wed Mar 7 09:12:01 2012 UTC
# Line 70  public class WelcomeScreen extends Activ Line 70  public class WelcomeScreen extends Activ
70                                    
71                  Button aboutButton = (Button) findViewById(R.id.about);                  Button aboutButton = (Button) findViewById(R.id.about);
72                  aboutButton.setOnClickListener( new AboutListener() );                  aboutButton.setOnClickListener( new AboutListener() );
73                            
74                  ExceptionHandler.register(this, "http://t-hoerup.dk/android/trace.php");                  //Got stacktraces / reports that the register thing sometimes crashes
75                    try {  
76                            ExceptionHandler.register(this, "http://t-hoerup.dk/android/trace.php");
77                    } catch (Exception e) {
78                            Log.e("TrainInfo", "Error registering exception handler", e);
79                    }
80                                    
81                  CheckUpdates update = new CheckUpdates();                  CheckUpdates update = new CheckUpdates();
82                  update.checkForUpdates(this, "http://t-hoerup.dk/android/traininfo/version.txt", "TrainInfo DK", null);                  update.checkForUpdates(this, "http://t-hoerup.dk/android/traininfo/version.txt", "TrainInfo DK", null);
# Line 184  public class WelcomeScreen extends Activ Line 189  public class WelcomeScreen extends Activ
189                          message.append("By Torben H. Nielsen\n");                          message.append("By Torben H. Nielsen\n");
190    
191                          MessageBox.showMessage(WelcomeScreen.this, message.toString());*/                          MessageBox.showMessage(WelcomeScreen.this, message.toString());*/
192                          Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://t-hoerup.dk/android/traininfo/"));                          /*Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://t-hoerup.dk/android/traininfo/"));
193                          startActivity(browserIntent);                          startActivity(browserIntent);*/
194                            
195                            Intent intent = new Intent(WelcomeScreen.this, AboutScreen.class);
196                            WelcomeScreen.this.startActivity(intent);
197                  }                  }
198    
199          }          }

Legend:
Removed from v.1626  
changed lines
  Added in v.1714

  ViewVC Help
Powered by ViewVC 1.1.20