Search code examples
javaandroidopengl-eslive-wallpaperrenderscript

How to create a live wallpaper for android


I know there's a lot of information about creating a live wallpaper with renderscript, but I thought I read somewhere that this way of doing things would be deprecated. I don't know if I just imagined that or not, but I don't want to start learning something that won't be supported in the future.

Any good resources or helpful links?


Solution

  • As you can see that it is deprecated from API 16 so that is Android 4.1

    http://developer.android.com/reference/android/renderscript/RenderScriptGL.html

    so in that case have a look at this.

    https://groups.google.com/forum/#!topic/android-developers/m194NFf_ZqA

    You can use OpenGL ES 2.0

    http://www.learnopengles.com/how-to-use-opengl-es-2-in-an-android-live-wallpaper/