5 |
import android.net.Uri; |
import android.net.Uri; |
6 |
import android.os.Bundle; |
import android.os.Bundle; |
7 |
import android.os.Handler; |
import android.os.Handler; |
|
import android.os.Message; |
|
8 |
import android.view.View; |
import android.view.View; |
9 |
import android.view.Window; |
import android.view.Window; |
10 |
import android.view.View.OnClickListener; |
import android.view.View.OnClickListener; |
25 |
|
|
26 |
@Override |
@Override |
27 |
public void onCreate(Bundle savedInstanceState) { |
public void onCreate(Bundle savedInstanceState) { |
28 |
requestWindowFeature( Window.FEATURE_NO_TITLE ); |
|
29 |
super.onCreate(savedInstanceState); |
super.onCreate(savedInstanceState); |
30 |
|
requestWindowFeature( Window.FEATURE_NO_TITLE ); |
31 |
setContentView(R.layout.welcome); |
setContentView(R.layout.welcome); |
32 |
|
|
33 |
Button nearestButton = (Button) findViewById(R.id.nearest); |
Button nearestButton = (Button) findViewById(R.id.nearest); |
45 |
ExceptionHandler.register(this, "http://t-hoerup.dk/android/trace.php"); |
ExceptionHandler.register(this, "http://t-hoerup.dk/android/trace.php"); |
46 |
|
|
47 |
CheckUpdates update = new CheckUpdates(); |
CheckUpdates update = new CheckUpdates(); |
48 |
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); |
49 |
|
/* |
50 |
Runnable r = new Runnable() { |
Runnable r = new Runnable() { |
51 |
@Override |
@Override |
52 |
public void run() { |
public void run() { |
55 |
} |
} |
56 |
}; |
}; |
57 |
handler.postDelayed(r, 1500); |
handler.postDelayed(r, 1500); |
58 |
|
*/ |
59 |
} |
} |
60 |
|
|
61 |
class AboutListener implements OnClickListener { |
class AboutListener implements OnClickListener { |