Pratique
Pratique

Reputation: 311

drawing textures on live wallpaper using OpenGL in android

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....

Upvotes: 2

Views: 1614

Answers (2)

Mark F Guerra
Mark F Guerra

Reputation: 922

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.

Upvotes: 2

Yuriy Vikulov
Yuriy Vikulov

Reputation: 2499

i've done the same task today.

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

Upvotes: 1

Related Questions