Questions tagged [live-wallpaper]

Live wallpaper is an Android 2.1+ feature that adds the potential for animation and interactivity.

Live wallpaper is specific to Android. It was introduced in v2.1 (froyo). Most (but not all) phones running 2.1 support it; all phones running 2.2+ support it. Android Market filters searches so that only supported phones can find published wallpapers (android.software.live_wallpaper).

Live wallpaper allows the programmer to create an Android service (as opposed to an activity) that supports animation, interactivity, and scrolling. The SDK contains sample code for a live wallpaper that displays an animated cube and dodecahedron.

The novice live wallpaperer should start there. The Android source distribution contains code for some "standard" wallpapers that ship with most phones. AndEngine supports live wallpaper creation, as does LibGDX and GLWallpaperExtension.

701 questions
1
vote
1 answer

call Live wallpaper within application

I am trying to implement following thing in android 2.x. In my application i want to allow the user to create the custom live wallpaper kind of thing where user chooses few images and then those image will rotate in a typical fashion and after…
Hunt
  • 8,215
  • 28
  • 116
  • 256
1
vote
1 answer

Android Canvas Multiple Layers for WallpaperService.Engine

I'm working on a live wallpaper. The wallpaper requires small movable images to be behind a large fixed image with transparent areas. The smaller images will only be visible when they are in the transparent parts of the large image. Here's how I've…
briercan
  • 168
  • 1
  • 11
1
vote
1 answer

Opening a dialog when an Android live wallpaper is touched

I’d like to open a dialog box with some simple information on it when a live wallpaper is tapped. Overriding onCommand in an Android live wallpaper, and adding a custom dialog almost straight out of the Android docs (with a layout info_dialog.xml…
Tim Barrass
  • 4,813
  • 2
  • 29
  • 55
1
vote
2 answers

How do I get the screen width and height when initializing an Android Live Wallpaper?

Trying to code a simple Live wallpaper for android. I'm having trouble finding out how to capture the screen size at initialization. Any thoughts on how I might can accomplish this? Thanks.
max
  • 2,346
  • 4
  • 26
  • 34
1
vote
0 answers

Code for capturing the screenshot of live wallpaper in android 2.2

I use android version 2.2 to develop.I want to capture the screenshot of live wallpaper which is the current wallpaper in the launcher. Is there the method to capture the screenshot? Thanks for helping.
Vic
  • 121
  • 1
  • 1
  • 3
1
vote
1 answer

Android live wallpaper preview start activity when user clicks "set wallpaper"

I am developing a live wallpaper application and I have the following problem: 1) The user clicks on a button and the android live preview shows up using this code Intent intent = new…
Alex Al
  • 51
  • 6
1
vote
1 answer

Is it possible to consume events in android live wallpaper onTouchEvent()?

My live wallpaper is responding to touch events through the onTouchEvent() method, which works fine. The problem is: the home app also appears to be receiving these touch events, so if I swipe left in my wallpaper, the home screen also slides…
user491236
  • 43
  • 4
1
vote
0 answers

Creating scrollable wallpaper drawing to the canvas

Creating a live wallpaper I can set a scrollable wallpaper very easily using: wallpaperManager.SetBitmap(bmpWallpaper) However I would like to draw to the canvas using, for example: Canvas c = SurfaceHolder.LockCanvas(); c.DrawBitmap(bmpWallpaper,…
Jamie Kitson
  • 3,973
  • 4
  • 37
  • 50
1
vote
1 answer

How Can I use TimerTask to run continuously?

I am creating a live wallpaper app. I want that, in this app after some certain interval a movie object will draw its frame on surfaceHolder canvas. My code is public void startTimer() { timer = new Timer(); initializeTimerTask(); } private…
Bangla
  • 11
  • 2
1
vote
0 answers

How to use a secondary Activity in a LiveWallpaper Engine

I have a class activity that make a graphic animation (MainActivity) in an AnimatedView. Work great as an app, BUT... I want to launch this activity inside a Live Wallpaper and use it like a Animated wallpaper. Is possible? I try this simple code…
Daniel
  • 53
  • 9
1
vote
1 answer

android Live Wallpaper Water Ripple Effect

I want to use water ripple effect in my application,which effect continue in touch area repeatedly. Can any one please help me ,to implement live water ripple effect?
sky_dh
  • 31
  • 1
1
vote
0 answers

Display Image with Fade Effect in Android Live Wallpaper

I am trying to create a slideshow in Android using its WallpaperService class. I am using Canvas and Bitmap to display images. I am able to display images sequentially but I am unable to figure out a way to add fade in animation to the images while…
androidnoob
  • 345
  • 2
  • 17
1
vote
3 answers

Android Flavor ACTION_CHANGE_LIVE_WALLPAPER

Hi I'm trying to implement android app flavor (free and full) to live wallpaper. In eclipse, I used to use this following code to open live wallpaper preview from my own android Activity: Intent intent = new Intent(); …
1
vote
1 answer

android livewallpaper settings button click causes the error - Unfortunately, Live Wallpaper Picker has stopped

I'm trying to make a Live wallpaper app in android with the libgdx library, but i have a problem. whenever the settings button is pressed in live wallpaper picker the app crashes and shows the message: "Unfortunately, Live Wallpaper Picker has…
Dan
  • 11
  • 3
1
vote
1 answer

Parallax Live Wallpaper Scrolling too Far

I've designed a live wallpaper that uses parallax scrolling. In order to scale the wallpaper to the size of the user's screen I use: int height = getApplicationContext().getResources().getDisplayMetrics().heightPixels; I then scale the image by…
Kevin Bright
  • 961
  • 2
  • 9
  • 17