Page 1 of 1

Save game when doing other things

Posted: Thu Dec 01, 2011 5:30 pm
by Xezlec
Hi, I hope this forum isn't dead.

I found this app useful, but one thing is really irritating: I can't do anything else without losing my game! Any time Hactar ends up in the background, it's gone and the game must be restarted. This makes it impossible to do stuff like instant messaging while I play. I wonder if maybe you forgot to implement onSaveInstanceState() and onRestoreInstanceState() or something?

Re: Save game when doing other things

Posted: Sat Dec 03, 2011 1:18 pm
by lpaatero
Hi,

I have just been quite busy at work, so little updates.

It is possible that you are seeing communication related problem. I fixed multiple such problems in 1.0.28.

To my knowledge Hactar (1.0.28) loses only downloaded games, when going to background (http://gowrite.net/mantis/view.php?id=41). If playing or editing games in SD card, status is restored just fine.

I have already spent some time trying to understand the problem, it is nothing obvious. Game status gets saved, but it looks like OS never even tries to restore the state. There is still something I just don't see...

regards
Lauri

ps added more details

Re: Save game when doing other things

Posted: Sat Dec 03, 2011 7:12 pm
by lpaatero
I implemented work-around: Now editor started (in case of http links) as new task.
It seems that browser makes assumptions about http link handling, and this solution is compatible with those.

So if you still see problems in most recent version, let me know.

- Lauri