I have written an Android app to retrieve the balance of an Oyster card from the online service and display it as a widget. While the code fundamentally works, there are a number of bugs which I can't track down, such as the app crashes when the phone first starts up, and periodically displays the balance incorrectly as ?0.
This is my first Android application, so I'm looking for a hand to debug these problems.