I want to make Android Live Wallpaper. I want to use LibGDx. I found this information: http://www.badlogicgames.com/wordpress/?p=2652
Sorry, ahter copy the code to my wallpaper, eclipse show error.
Does anyone know how to make wallpapers using libgdx?
Eclipse shows the following information: "MyApplicationListener cannot be resolved to type"? 3 quick fixes are available: 1. create classes MyApplicationListener 2. change to "ApplicationListener" (com.badlogic.gdx) 3. Fix project settings
After selecting 2 fix, eclipse shows another error: "Unable to create an instance of ApplicationListener of type"
I solved the problem using HaMMeReD.
My code in android project:
public class MainActivity extends AndroidLiveWallpaperService { @Override public ApplicationListener createListener(boolean isPreview) {
source share