I developed android Live wallpaper using opengl.It starts fine,but it hangs to "loading live wallpaper" very often.I don't know why it is happening.
I have 10 images in drawable which is used for rendering.
My Logcat,
06-27 07:05:26.338: W/Adreno-EGLSUB(22430): <DequeueBuffer:591>: dequeue native buffer fail: No such device, buffer=0x0, handle=0x0
06-27 07:05:26.338: W/Adreno-ES20(22430): <gl2_surface_swap:43>: GL_OUT_OF_MEMORY
06-27 07:05:26.338: W/Adreno-EGL(22430): <qeglDrvAPI_eglSwapBuffers:3595>: EGL_BAD_SURFACE
06-27 07:05:26.378: W/Adreno-EGLSUB(22430): <DequeueBuffer:591>: dequeue native buffer fail: No such device, buffer=0x0, handle=0x0
06-27 07:05:26.378: W/Adreno-ES20(22430): <gl2_surface_swap:43>: GL_OUT_OF_MEMORY
06-27 07:05:26.378: W/Adreno-EGL(22430): <qeglDrvAPI_eglSwapBuffers:3595>: EGL_BAD_SURFACE
06-27 07:05:26.428: W/Adreno-EGLSUB(22430): <DequeueBuffer:591>: dequeue native buffer fail: No such device, buffer=0x0, handle=0x0
06-27 07:05:26.428: W/Adreno-ES20(22430): <gl2_surface_swap:43>: GL_OUT_OF_MEMORY
Actually My wallpaper loads properly,while it rendering for 30 -50 secs it automatically stops and shows Loading Live wallpaper message.But when when I click settings button it loads again.
Can anyone tell me why I am facing this issue.