1 |
package dk.thoerup.traininfo; |
package dk.thoerup.traininfo; |
2 |
|
|
|
import com.nullwire.trace.ExceptionHandler; |
|
|
|
|
3 |
import android.app.Activity; |
import android.app.Activity; |
4 |
import android.content.Intent; |
import android.content.Intent; |
5 |
import android.net.Uri; |
import android.net.Uri; |
9 |
import android.view.View.OnClickListener; |
import android.view.View.OnClickListener; |
10 |
import android.widget.Button; |
import android.widget.Button; |
11 |
|
|
12 |
|
import com.nullwire.trace.ExceptionHandler; |
13 |
|
|
14 |
|
import dk.thoerup.checkupdates.CheckUpdates; |
15 |
|
|
16 |
public class WelcomeScreen extends Activity{ |
public class WelcomeScreen extends Activity{ |
17 |
public enum ListType { |
public enum ListType { |
18 |
ListNearest, |
ListNearest, |
39 |
aboutButton.setOnClickListener( new AboutListener() ); |
aboutButton.setOnClickListener( new AboutListener() ); |
40 |
|
|
41 |
ExceptionHandler.register(this, "http://t-hoerup.dk/android/trace.php"); |
ExceptionHandler.register(this, "http://t-hoerup.dk/android/trace.php"); |
42 |
|
|
43 |
|
CheckUpdates update = new CheckUpdates(); |
44 |
|
update.checkForUpdates(this, "http://t-hoerup.dk/android/traininfo/version.txt", "TrainInfo DK"); |
45 |
} |
} |
46 |
|
|
47 |
class AboutListener implements OnClickListener { |
class AboutListener implements OnClickListener { |