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); |