21 |
import android.widget.Button; |
import android.widget.Button; |
22 |
import android.widget.Toast; |
import android.widget.Toast; |
23 |
|
|
24 |
import com.nullwire.trace.ExceptionHandler; |
//import com.nullwire.trace.ExceptionHandler; |
25 |
|
|
26 |
import dk.thoerup.androidutils.CheckUpdates; |
import dk.thoerup.androidutils.CheckUpdates; |
27 |
import dk.thoerup.traininfo.provider.OfflineStationProvider; |
import dk.thoerup.traininfo.provider.OfflineStationProvider; |
73 |
|
|
74 |
//Got stacktraces / reports that the register thing sometimes crashes |
//Got stacktraces / reports that the register thing sometimes crashes |
75 |
try { |
try { |
76 |
ExceptionHandler.register(this, "http://t-hoerup.dk/android/trace.php"); |
//ExceptionHandler.register(this, "http://t-hoerup.dk/android/trace.php"); |
77 |
} catch (Exception e) { |
} catch (Exception e) { |
78 |
Log.e("TrainInfo", "Error registering exception handler", e); |
Log.e("TrainInfo", "Error registering exception handler", e); |
79 |
} |
} |