Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8962297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T16:05:55+00:00 2026-06-15T16:05:55+00:00

I want to make Android Live Wallpaper. I want to use LibGDx. I found

  • 0

I want to make Android Live Wallpaper. I want to use LibGDx. I found this information:
http://www.badlogicgames.com/wordpress/?p=2652

Unfortunately, ahter copy code to my wallpaper, eclipse show error.

Does anyone knows how to make wallpaper using LibGDx?

Eclipse shows following information: “MyApplicationListener cannot resolved to a type”?
There are 3 quick fixes available:
1. create classs MyApplicationListener
2. change to “ApplicationListener” (com.badlogic.gdx)
3. Fix project setup

After choose 2 fix, eclipse shows another error:
“Cannot instantiate the type ApplicationListener”

I solved my problem with HaMMeReD’s help.

My code in android project:

public class MainActivity extends AndroidLiveWallpaperService {

    @Override
    public ApplicationListener createListener(boolean isPreview) {
        // TODO Auto-generated method stub
        return new SexyWomen();// here should be wrote name of class form main LibGDx project
    }

    @Override
    public AndroidApplicationConfiguration createConfig() {
        // TODO Auto-generated method stub
        return new AndroidApplicationConfiguration();
    }

    @Override
    public void offsetChange(ApplicationListener listener, float xOffset, float yOffset, float xOffsetStep, float yOffsetStep,
            int xPixelOffset, int yPixelOffset) {
        // TODO Auto-generated method stub
        Gdx.app.log("LiveWallpaper", "offset changed: " + xOffset + ", " + yOffset);

    }

}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T16:05:56+00:00Added an answer on June 15, 2026 at 4:05 pm

    Put your code back the way it was.

    Choose option 3 for quick fix.

    It should include your Main Gdx project on your build path and fix that error.

    Manually goto Java-Build-Path/Projects tab and add your Gdx project.

    Your backend project needs to have access to your main gdx project in order to find that class.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am beginner of Android OpenGL I want to learn and make Live wallpaper
i want to make a splash screen on my android application, i use phonegap.
I want to make a program for Android, what take all people who use
I want to make a simple android apps for myself. This time I want
I want to make an iOS/Android app that does like this: take an photo
I want to make password protected android app, but when in this simple program
I want to make an Android app by using ZXing . Can anyone tell
I want to make an android application that shows a listing of applications (downloaded
I want to make an Android Game App that loads a game slot that
I am new android app developer i want make app for tablets and phone

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.