Check to make sure that at the time of resume, you're not hanging on to old surface holders or anything like that. I use GLSurfaceView onPause and onResume and they work correctly for me on the G1 and Emulator.
On Sep 21, 8:18 am, Guian <[email protected]> wrote: > well, I did put those lines in the onPause/onResume methods but still > have the black screen with this error in the logcat: > > ERROR/SurfaceComposerClient(15353): using an invalid surface id=0, > identity=1431 should be 1435 > > Doesn't seem exactly the same error... > can anybody help please ? > > On 30 août, 09:59, Cor <[email protected]> wrote: > > > In the mean time I found this was a classic RTFM case ;-) > > > If you use GLSurfaceView you have to call view.onPause() and > > view.onResume() respectively in the activities onPause() and anResume > > () methods > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

