thx for your answer. I'm not familiar with it, should I use a
SurfaceHolder.Callback to be notified when the surface is created and
destroy ?

On 21 sep, 23:15, Robert Green <rbgrn....@gmail.com> wrote:
> 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 <guiandou...@gmail.com> 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 <cg0...@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to