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
2
votes
1 answer

Live wallpaper canvas flickers when it includes a bitmap

For my live wallpaper I use the following code (called by a Runnable) to draw each frame. Each time it is called, I fill the current canvas with a solid color and draw a background bitmap (bg_image has been resized to perfectly fit the screen). I…
wopkins
  • 53
  • 4
2
votes
0 answers

How to reuse SurfaceHolder on WallpaperService ,

How to reuse SurfaceHolder on WallpaperService, I want to Loop switch the content to Surface on the WallpaperService. 1."play movie", 2."draw a picture" , 3."play movie" .looping It work. 1. playPlayer() 2. playImage(). An error occurs. 1.…
2
votes
1 answer

How to add Text on Android Live Wallpapers

Im doing Android Live Wallpaper.It provides the user to give text input dynamically.That text should be displayed on wallpaper or scrolling like that.And this wallpapers have to be set as background.How could i do this.?
sanjay
  • 2,590
  • 17
  • 55
  • 88
2
votes
2 answers

Is it possible to use Android's View Animation package (tween/frame) within Live Wallpaper?

Greetings fellow Droidheads and the like. I am working on a Live Wallpaper project that's getting more complex. I am curious: has anyone figured out a way to use Android's View Animation package…
George Freeman
  • 2,260
  • 1
  • 15
  • 22
2
votes
3 answers

Live Wallpaper startup problem

I have created Live Wallpaper app. When I start this via Wallpapers -> Live Wallpapers -> Settings and then Set wallpaper it works, but if I reboot the phone the drawing is just black color. What's the way to optimize it? I want it to be as if I…
Curtain
  • 1,972
  • 3
  • 30
  • 51
2
votes
1 answer

MediaPlayer - NuPlayerRenderer: possible video time jump of x ms

I get some lines like the following: 10-15 21:34:30.318 6996-20354/? I/NuPlayerRenderer: possible video time jump of 546ms (266286180 : 260922630) or uninitialized media clock, retrying in 10ms 10-15 21:34:30.328 6996-20354/? I/NuPlayerRenderer:…
Denny Weinberg
  • 2,492
  • 1
  • 21
  • 34
2
votes
1 answer

Android Live Wallpaper Question

I'v been tinkering with Live Wallpapers today and wouldn't you know it, I just can't get it to work. I decided to come up with the most simple live wallpaper possible and build from there but even that is going wrong! This is what my…
Mark D
  • 1,309
  • 4
  • 19
  • 38
2
votes
2 answers

Live Wallpaper Tutorial

I am trying to do the following from a live wallpaper tutorial I found here. /** * Do the actual drawing stuff */ private void doDraw(Canvas canvas) { Bitmap b = BitmapFactory.decodeResource(context.getResources(), IMAGES[current]); …
Ragunath Jawahar
  • 19,513
  • 22
  • 110
  • 155
2
votes
0 answers

How to access systems live wallpaper in my own launcher

When I am calling the service it is not opening the live wallpaper selector. Here is my code for selection the live wallpaper : public class LiveWallpaper extends WallpaperService { @Override public Engine onCreateEngine() { return new…
2
votes
2 answers

Live wallpaper using animated gif ( with centercrop scaletype)

How to create a simple live wallpaper using animated .gif image? I'm getting .gif image not proportioned to the screen. How to make it centercrop?
2
votes
2 answers

drawing textures on live wallpaper using OpenGL in android

Hii, I want to make a simple live wallpaper using OpenGL in Android that will draw the textures. I have develop a simple OpenGL Activity that can work exactly for live wallpaper. But some problems are there like IllegleArgumentException. I am using…
Pratique
  • 311
  • 1
  • 3
  • 5
2
votes
3 answers

Set video as wallpaper on Android

I want to know how to set Video as wallpaper or it is not possioble. I can set image as wallpaper and I can build live wallpaper but I can't set video as wallpaper ? so anyone has an idea how can I do that ? Thanks in Advance.
Someone
  • 21
  • 1
  • 2
2
votes
1 answer

livewallpaper Double Tap to open an activity

I am new in android development. I want to implement a double tap event in my wallpaper so that when I double tap the wallpaper it opens the application. here is the code where I have drawn the wallpaper image: public class AbcService extends…
2
votes
1 answer

Live wallpaper setwallpaper event listener issue

I am trying to figure out if there is any mechanism to detect when a user clicks on Set Wallpaper or presses Back in the preview screen or if they pressed the back button. I have looked at the Wallpaper Service Engine and the only change I can make…
2
votes
1 answer

Live wallpaper engine does not call onDestroy when switch off preview mode

I'm developing an opengl ES 2.0 live wallpaper. Normaly, when an engine is destroyed, its methods onSurfaceDestroyed and onDestroy were called. I notice that when i click on 'Set wallpaper' button, onSurfaceDestroyed and onDestroy are not…
xcesco
  • 4,690
  • 4
  • 34
  • 65