I'm still a little new to Android programming so you guys might have to bear with me here.
The app I am working on is based off of the Rokon 2D game engine. (This is not a Rokon question, just general background information so please keep reading! :) ) The original idea was to use the 2D game engine to handle the menu, instructions, and a game board. We then have a separate activity that controls a GLSurfaceView which is drawing some .obj objects. We wanted to have a 3D feel to this part of the game so this was the best thing we could think of. The problem I'm having is that when I call .finish() on the GLSurfaceView activity, I get a black screen for 3 - 5 seconds while its trying to clean up the activity. This is a problem for me because 1.) its annoying to wait that long. and 2.) I have animations happening as soon as I get a result back from that GLSurfaceView activity. This is really weird because my primary activity resumes while the GLSurfaceView is still finishing up. So basically I lose my animations. I could put in some code to have this automatically wait 5 seconds before doing the animation, however I would like to avoid that if possible. This gets even weirder as I don't have this problem on my Samsung Captivate running Android 2.1, but we get this problem on a Nexus One using Android 2.2 and I get it on the emulator running 2.3. Is there some better way to kill an activity? Or some way to destroy GL objects before hand so that when we hit the .finish() it doesn't take as long to clean up? Any suggestions would be greatly appreciated! Thanks, Patrick -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

