I am having trouble with the example for use of GLSurfaceView (see http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/graphics/GLSurfaceViewActivity.html ).
I created a normal Android project in the Eclipse IDE, added the GLSurfaceViewActivity class and related from the sample directory, set the activity to GLSurfaceViewActivity, and ran it on the emulator. It worked. Then I hit the home button, launched another app, hit home again, and launched my test app again. This time, I got a blank screen (with now exceptions thrown in logcat);. Any ideas? I was motivated to try this example because if have been having the same trouble with my own app - discussed iathttp://groups.google.com/group/android-developers/browse_thread/thread/b1b97aa8e18e6b04 . My application has Log.d calls that show the following sequence: onCreate onStart onResume ...working app with rendering on the GLSurface... onStop onCreate onStart onResume ...everything works but the GLSurfaceView rendering. (see related discussion) (onStop->onCreate->onStart->onResume). That app is careful to call the notification methods on the surface when when system state change callbacks in the view are called. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

