--- android/TrainInfo/src/dk/thoerup/traininfo/WelcomeScreen.java 2010/05/10 19:36:43 720 +++ android/TrainInfo/src/dk/thoerup/traininfo/WelcomeScreen.java 2010/06/26 08:04:20 911 @@ -4,6 +4,8 @@ import android.content.Intent; import android.net.Uri; import android.os.Bundle; +import android.os.Handler; +import android.os.Message; import android.view.View; import android.view.Window; import android.view.View.OnClickListener; @@ -20,6 +22,8 @@ ListFavorites } + Handler handler = new Handler(); + @Override public void onCreate(Bundle savedInstanceState) { requestWindowFeature( Window.FEATURE_NO_TITLE ); @@ -41,9 +45,19 @@ 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"); + update.checkForUpdates(this, "http://t-hoerup.dk/android/traininfo/version.txt", "TrainInfo DK", null); + /* + Runnable r = new Runnable() { + @Override + public void run() { + View splash = findViewById(R.id.splash); + splash.setVisibility(View.GONE); + } + }; + handler.postDelayed(r, 1500); + */ } - + class AboutListener implements OnClickListener { @Override