it seems to crash consistently when it runs in the background for a while. I've sent a report.
I can reproduce this now.
Root cause: On android devices apps may be resumed on any activity (screen) when they have been sent to the background. I knew that, but what I didn't know is that the app's process may be killed entirely and its resources reclaimed by the OS AND then the app may be resumed in any activity it was in before going into the background.
On low end devices this apparently happens all the time when you put the app into the background and start another app or two. I am pretty sure this is what you observe. Basically this means that the app needs to be able to re-initialize on any activity. I have a fix in mind, but it may take a week or two before I get it in. Please be patient.
Version 0.4.5b is out which fixes the re-initialization issue reported by vuce (thanks).
Update details:
This is a bug fix upgrade that addresses the two remaining known BitcoinSpinner bugs:
- Fix for re-initialization bug that occurs after BitcoinSpinner's process/resources have been reclaimed by the OS. BitcoinSpinner now handles this gracefully on any Activity (screen), meaning that if you send BitcoinSpinner to the background on any screen (Send bitcoins, Transaction history etc) and the OS decides to reclaim the process to make room for other processes, then the app re-initializes properly and shows the right screen when you bring it to the foreground again.
- Fix for the "have network connection but not internet connection bug". Sometimes you have connection to a wi-fi network that does not allow you to reach the internet. This is for instance the case in many hotels where you are redirected to a web-page where you have to accept some terms or pay money to get internet access. Previously this caused BitcoinSpinner to block during initialization forever, showing a black screen.
Since these were the remaining two bugs I can concentrate on address book and PIN enhancements. If you find any other issues or the update for some reason does not fix these issues please post in this thread.
By the way, you should try out the Donation feature in BitcoinSpinner, which is reachable when you choose options on the main screen. It hasn't been tested much