jassenburg / frozenbubbleplus

Automatically exported from code.google.com/p/frozenbubbleplus
0 stars 0 forks source link

When home button is pressed and the game does not regain focus for a while, the game will crash the next time it it is launched #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I presume this is because the system stops the activity but it is not 
destroyed.  When the application is called again, it is not restarted cleanly 
because the same activity is running and some objects are not being 
re-initialized that should be.

Find out what is not being re-initialized correctly.

Original issue reported on code.google.com by forter...@gmail.com on 25 Mar 2013 at 2:10

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Refer to the activity lifecycle on the Android developer's web page:

 http://developer.android.com/reference/android/app/Activity.html

Original comment by forter...@gmail.com on 25 Mar 2013 at 2:15

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Fixed critical bug where one of the BubbleSprite constructors was initializing 
variables using a null pointer reference.  Moving the initialization further 
down the sequence fixed the issue.

Original comment by forter...@gmail.com on 26 Mar 2013 at 2:22