MrLoick / candroidengine

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

black-screen when re-open game after HOME button selected #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open the sample 
2. Click on HOME button on the phone
3. re-open the sample

What is the expected output? What do you see instead?
The game running normal, re-create world and game object
But I saw only black-screen instead.

What version of the product are you using? On what operating system?
trunk version, r34

Please provide any additional information below.
tested on both emulator, Milestone and Samsung 5700i

Original issue reported on code.google.com by doqkh...@gmail.com on 21 Jun 2010 at 5:21

GoogleCodeExporter commented 8 years ago
Try reloading your textures and init your sprites again in the onResume method

Original comment by domiii.1...@gmail.com on 24 Jun 2010 at 4:16

GoogleCodeExporter commented 8 years ago

Could you fix this error in your trunk version?

Original comment by doqkh...@gmail.com on 26 Jun 2010 at 4:28

GoogleCodeExporter commented 8 years ago
I've reproduced it on HTC Dream and Samsung Galaxy S while making an 
application based on your library. I'm not an expert in Android but from what 
I've noticed while working with your library is that when window looses focus 
the surface is being destroyed but later when getting focus it is not created 
again - seems to be the reason for black screen.

Original comment by thopo...@gmail.com on 7 Jan 2012 at 9:53