2

Hii,

I want to make a simple live wallpaper using OpenGL in Android that will draw the textures.

I have develop a simple OpenGL Activity that can work exactly for live wallpaper. But some problems are there like IllegleArgumentException.

I am using GLWallpaperService from earth live wallpaper.

Thanks....

Josh Lee
  • 171,072
  • 38
  • 269
  • 275
Pratique
  • 311
  • 1
  • 3
  • 5

2 Answers2

2

You may have better luck getting GLWallpaperService from the main project repository on github. It is actively maintained and documented there.

Modern releases of GLWallpaperService will accept a GLSurfaceView.Renderer class. This means you can reuse the Renderer class that you wrote for your activity directly in your live wallpaper.

Mark F Guerra
  • 892
  • 10
  • 13
1

i've done the same task today.

it can be useful for you: http://www.rbgrn.net/content/354-glsurfaceview-adapted-3d-live-wallpapers

Yuriy Vikulov
  • 2,469
  • 5
  • 25
  • 32
  • Please do not use the GLWallpaperService at the rbgrn.net link, as it is now outdated. Years ago, I copied the rbgrn.net code with permission and started improving it. The latest code is available at https://github.com/GLWallpaperService/GLWallpaperService – Mark F Guerra Dec 09 '13 at 20:50