1 |
package dk.thoerup.traininfo; |
package dk.thoerup.traininfo; |
2 |
|
|
3 |
|
import com.nullwire.trace.ExceptionHandler; |
4 |
|
|
5 |
import android.app.Activity; |
import android.app.Activity; |
6 |
import android.content.Intent; |
import android.content.Intent; |
7 |
import android.net.Uri; |
import android.net.Uri; |
35 |
|
|
36 |
Button aboutButton = (Button) findViewById(R.id.about); |
Button aboutButton = (Button) findViewById(R.id.about); |
37 |
aboutButton.setOnClickListener( new AboutListener() ); |
aboutButton.setOnClickListener( new AboutListener() ); |
38 |
|
|
39 |
|
ExceptionHandler.register(this, "http://t-hoerup.dk/android/trace.php"); |
40 |
} |
} |
41 |
|
|
42 |
class AboutListener implements OnClickListener { |
class AboutListener implements OnClickListener { |