TomVal wrote:When I'm anywhere else then the main screen of G-Stomper, and I lock and then unlock my phone, I get tossed back into main screen instead to remain on the screen where I was when locking my phone. This is sometimes bothering, since I tend to invoke an appropriate bank in the Pattern Set window, then locking my phone, and after unlocking, I'd like to continue work in that window, but I have to re-display it again. THis is quite non-androidish behavior of an app, since when I'm locking my phone, I'm expecting to see the same screen when I unlock my device, and that's not the case of G-Stomper's screens other than the main one.
Can you please define "lock and then unlock". How much time is in between?
Android does shut down apps automatically when they're in the background for 20 minutes (maybe longer), especially if those apps have processes running (like an audio app does). Once it got shut down, it simply gets restarted on unlock, which ends up on the main screen.
This is in fact very androidish. If Android would let G-Stomper run in the background, it would drain your battery to zero in 3-4 hours. Therefore it get's terminated.
There is a mechanism in android to cache the current state of an app. For G-Stomper this is technically impossible, since there's much more running in the background than just the views which you see. Keeping the state of the complete audio engine is unfortunately impossible.