This is a sample live wallpaper for Android. It uses Rajawali, an open-source OpenGL ES 2.x engine.
- Install the Android SDK.
- Clone https://github.com/MasDennis/Rajawali and
https://github.com/MasDennis/RajawaliWallpaperTemplate into the same
parent directory (i.e.
ls ~/foo
outputsRajawali/ RajawaliWallpaperTemplate/
). - Import both projects into Eclipse.
- Change the Java package
com.mydomain.wallpaper.mywallpaper
to something new. Eclipse makes this relatively simple with its "Refactor" -> "Rename" functionality. - Update any package references in
AndroidManifest.xml
andres/xml/wallpaper.xml
. - Rename the wallpaper in
res/values/strings.xml
. - Edit the settings activity in
res/xml/settings.xml
.