--- android/TrainInfo/src/dk/thoerup/traininfo/WelcomeScreen.java 2009/11/12 10:03:22 500 +++ android/TrainInfo/src/dk/thoerup/traininfo/WelcomeScreen.java 2010/05/10 19:36:43 720 @@ -9,6 +9,10 @@ import android.view.View.OnClickListener; import android.widget.Button; +import com.nullwire.trace.ExceptionHandler; + +import dk.thoerup.checkupdates.CheckUpdates; + public class WelcomeScreen extends Activity{ public enum ListType { ListNearest, @@ -33,6 +37,11 @@ Button aboutButton = (Button) findViewById(R.id.about); aboutButton.setOnClickListener( new AboutListener() ); + + ExceptionHandler.register(this, "http://t-hoerup.dk/android/trace.php"); + + CheckUpdates update = new CheckUpdates(); + update.checkForUpdates(this, "http://t-hoerup.dk/android/traininfo/version.txt", "TrainInfo DK"); } class AboutListener implements OnClickListener {