Hi, I have found what may be a bug in 2.0.3 and 2.0.4-9582. The steps to reproduce the bug are:
- Open the game from Play Store (e.g. you just installed the game and click the open button).
Code:
V/SDL (13884): Device: GT-P1000
V/SDL (13884): Model: GT-P1000
V/SDL (13884): onCreate():null
V/SDL (13884): onResume()
V/SDL (13884): surfaceCreated()
V/SDL (13884): surfaceChanged()
V/SDL (13884): pixel format RGB_565
V/SDL (13884): Window size:600x1024
I/SDL (13884): SDL_Android_Init()
I/SDL (13884): SDL_Android_Init() finished!
V/SDL (13884): onWindowFocusChanged(): true
- Press the home button. The game enters background.
Code:
V/SDL (13884): onPause()
V/SDL (13884): nativePause()
V/SDL (13884): onWindowFocusChanged(): false
V/SDL (13884): surfaceDestroyed()
- Open the game by clicking the icon instead of from Play Store.
Code:
V/SDL (13944): Device: GT-P1000
V/SDL (13944): Model: GT-P1000
V/SDL (13944): onCreate():game.agilemath.Activity at 4052b728
V/SDL (13944): onResume()
V/SDL (13944): surfaceCreated()
V/SDL (13944): surfaceChanged()
V/SDL (13944): pixel format RGB_565
V/SDL (13944): Window size:600x1024
I/SDL (13944): SDL_Android_Init()
I/SDL (13944): SDL_Android_Init() finished!
V/SDL (13944): onWindowFocusChanged(): true
- The screen goes blank and events aren’t handled by the game (e.g. I press back button but nothing happens, it should exit the game).
If at the first step I open the game by clicking the icon instead of from Play Store I can resume without problem. I’m testing the game in a Galaxy Tab and Android 2.3.3.------------------------
http://www.bytenjoy.com