title: How to create an OpenGL live wallpaper?
body: <p>I'm trying to find the right approach for creating an Android OpenGL live wallpaper i.e. a way to convert an app written to use GLSurfaceView into a live wallpaper. There appears to be nothing in the official Android documentation about this surprisingly and it's not obvious what to do.</p>
  
  <p>I've found a few discussions about this elsewhere where most end up linking to the following code written an Android developer:
  <a href="http://www.rbgrn.net/content/354-glsurfaceview-adapted-3d-live-wallpapers" rel="nofollow">http://www.rbgrn.net/content/354-glsurfaceview-adapted-3d-live-wallpapers</a></p>
  
  <p>However, the comments on the page suggest there are problems with the code (memory leaks, lock ups). Does anyone know of any alternatives? If I upload a wallpaper to the market, I'd obviously like to avoid complaints caused by buggy code.</p>