Live Wallpaper Template
Use this template to help create live wallpapers for Android.
Note this is for live wallpapers that use the
Canvas and not OpenGL.
Files you need to edit
ExampleWallpaperDrawerThis is the class that draws the wallpaper
ExampleWallpaperServiceThis class provides the name of the drawer class
activity_settings.xmlThis activity allows the user to change settings for the wallpaper
wallpaper.xmlThis xml file is read by other apps to provide the user access to the live wallpaper
wallpaper_thumbnail.pngThis is preview of the wallpaper used by wallpaper listing apps
build.gradle, and the package name These are the usual Android files and should be updated to match your app
There are TODOs in the app for all these steps
The files in the
template package probably don't need to be edited and are mostly used to provided the drawer to the settings activity and the launcher.
They have javadoc explaining their purpose in more detail in each file.
Copyright 2018 Ray Britton Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.