[android-developers] Re: SurfaceHolder.Callback.surfaceCreated not being triggered when surface is re-created

2011-12-05 Thread Thomas Fjellstrom
So I've managed to fix that particular problem. I'm not sure exactly what fixed it, but I assume it was a result of a couple different problems. I needed to set the manifest to only ever launch one instance at a time (I was seeing more than one activity object be created which messed things up).

[android-developers] Re: SurfaceHolder.Callback.surfaceCreated not being triggered when surface is re-created

2011-12-05 Thread Thomas Fjellstrom
Ok, somehow eglCreateWindowSurface is failing to create a valid surface any time but the first. eglSwapBuffers fails with a EGL_BAD_SURFACE error. But eglCreateWindowSurface said it succeeded. I'm stumped. On Dec 5, 2:34 am, Thomas Fjellstrom tfjellst...@gmail.com wrote: So I've managed to fix

[android-developers] Re: SurfaceHolder.Callback.surfaceCreated not being triggered when surface is re-created

2011-11-30 Thread Thomas Fjellstrom
On Nov 29, 1:29 am, tobias ecker...@gmx.de wrote: Had exactly the same problem. As it looks like, the issue is not that the callback isn't fired, but that when Android creates a new SurfaceView, it also creates a new holder. Check if this helps

[android-developers] Re: SurfaceHolder.Callback.surfaceCreated not being triggered when surface is re-created

2011-11-29 Thread tobias
Had exactly the same problem. As it looks like, the issue is not that the callback isn't fired, but that when Android creates a new SurfaceView, it also creates a new holder. Check if this helps you: