Save game when doing other things

Hactar Go is go program for Android.

For information on Hactar go, please see http://gowrite.net/hactar.
Post Reply
Xezlec
Posts: 1
Joined: Thu Dec 01, 2011 5:18 pm

Save game when doing other things

Post 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?
lpaatero
Go liiton hallitus
Posts: 528
Joined: Fri May 21, 2004 12:20 pm
Location: Finland

Re: Save game when doing other things

Post 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
Last edited by lpaatero on Sat Dec 03, 2011 7:24 pm, edited 3 times in total.
lpaatero
Go liiton hallitus
Posts: 528
Joined: Fri May 21, 2004 12:20 pm
Location: Finland

Re: Save game when doing other things

Post 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
Post Reply