--- android/TrainInfo/src/dk/thoerup/traininfo/WelcomeScreen.java 2009/10/29 09:38:13 482 +++ android/TrainInfo/src/dk/thoerup/traininfo/WelcomeScreen.java 2009/11/12 10:03:22 500 @@ -1,8 +1,8 @@ package dk.thoerup.traininfo; -import dk.thoerup.traininfo.util.MessageBox; import android.app.Activity; import android.content.Intent; +import android.net.Uri; import android.os.Bundle; import android.view.View; import android.view.Window; @@ -39,13 +39,22 @@ @Override public void onClick(View v) { + /* + String appName = WelcomeScreen.this.getResources().getString(R.string.app_name); + String ver = WelcomeScreen.this.getResources().getString(R.string.app_version); - - MessageBox.showMessage(WelcomeScreen.this, "about"); + StringBuffer message = new StringBuffer(); + message.append(appName); + message.append(" v").append(ver).append("\n"); + message.append("By Torben H. Nielsen\n"); + + MessageBox.showMessage(WelcomeScreen.this, message.toString());*/ + Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.t-hoerup.dk/android/traininfo/")); + startActivity(browserIntent); } - + } - + class StationListListener implements OnClickListener{ ListType launchType; StationListListener(ListType type) {