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

Android: canvas drawing, drawARGB and drawColor

small question: i made a live wallpaper with a runnable i made. Why when i try to .drawARGB or .drawColor with the color white or any color, on a canvas, it shows for a split second and turns back to the color black all over the screen? but when i…
Daniel Mendel
  • 506
  • 5
  • 17
0
votes
1 answer

Low Cost Bitmap Rotation on Android

I'm writing the code for my own live wallpaper. The wallpaper (among other things) has a background bitmap that rotates continuously. The bitmap is big (768x768px). Every screen refresh I do: canvas.drawColor(Color.WHITE); Matrix matrix = new…
mneri
  • 2,127
  • 2
  • 23
  • 34
0
votes
3 answers

LiveWallpaper file existence at phone startup

I have this live wallpaper where you can choose your own custom background and immediately at start the app checks if the filepath exists, if not it flags for drawing just a black screen. The thing is, every time I restart the phone the background…
Aron
  • 144
  • 2
  • 11
0
votes
0 answers

Live wallpaper causes textures to appear white in app on first launch

I'm trying to create a live wallpaper for my app. Everything works, unfortunately, when I first open my app while my live wallpaper is installed, everything appears white. When I leave and resume my app, suddenly everything works. Here are some…
PLJNS
  • 451
  • 4
  • 14
0
votes
2 answers

Setting button for Live Wallpaper doesn't appear

I created a preference files for my slide show Live Wallpaper. Most of the source are copied from several samples. I think I copied them correctly, and the eclipse shows no warnings or errors for my source. My problem is that the "Settings" button…
yokko445
  • 23
  • 1
  • 6
0
votes
1 answer

RE: Live Wallpaper Screen Rotation

I recently posted a question about screen rotation in my live wallpaper. To test why I was having these problems, I created the simple program below: package com.live.waller; import android.graphics.Canvas; import android.graphics.Color; import…
Denizen
  • 335
  • 5
  • 17
0
votes
2 answers

how to set additive overlay of jpg images to achieve transparency

I need to overlay two images in live wallpaper. The overlay images is the jpg which needs to be set to "additive" overlay. it adds the pixel value rather than calculating the transparency. how can i achieve this in android ?
Ravi Bhojani
  • 1,032
  • 1
  • 13
  • 24
0
votes
1 answer

Live Wallpaper Performance Issues

I am currently having trouble with a live wallpaper that does some very intensive drawing. However , upon testing my code I find the wallpaper is laggy and is destroyed when the screen gets rotated. Within my draw method I have this : mRectArray =…
Denizen
  • 335
  • 5
  • 17
0
votes
1 answer

android live wallpaper does not show up, though it is installed

I started working on my first live wallpaper on android mainly working with this: http://www.vogella.com/articles/AndroidLiveWallpaper/article.html. The problem is that the wallpaper does not show up in the screen where you can select the…
Lars
  • 500
  • 1
  • 7
  • 22
0
votes
1 answer

error while adding image using R.drawable.myimagename

this is the error, "myimagename" couldnot be resolved or is not a field. ps: myimagename.jpg is present in the drawable folder.
0
votes
4 answers

Live wallpaper settings not applying

I have added settings to my live wallpaper but they are not being applied when changed. I would greatly appreciate it if someone could tell me why my settings are not being applied when changed. Here is my code: settings.xml …
Steve C.
  • 1,333
  • 3
  • 19
  • 50
0
votes
2 answers

How to get my live wallpaper icon in Livewallpaper list

How to get my live wallpaper icon in Livewallpaper list. I am developing a live wallpaper. After running the application i cannot see icon when selecting livewallpaper. please see picture below I can see the Text Flowers HD Wallpaper but not icon.…
Rajesh
  • 380
  • 5
  • 13
0
votes
1 answer

SurfaceView: dequeueBuffer failed on Android 4.0

I'm building a live wallpaper, it has a bitmap with fullHD resolution which is scaled down to the size of the users phone screen. It works perfectly on Android 2.2 and 2.3 but crashes on 4.0. EDIT : I narrowed the problem down a little bit using…
0
votes
1 answer

Method of the class not working in Android Live wallpaper

I am trying to change the image during runtime in livewallpaper. I am calling method changeFlowers. I able to print Log.W() but unable to change bitmap. Thanks in Advance. When I call from here f1.changeColor(this._theme) it is not working, I want…
Rajesh
  • 380
  • 5
  • 13
0
votes
1 answer

IndexOutOfBoundsException in my implementation of Live wallpaper

Method changeFlowers is failing with Index Out of Bound Exception. I am new to java, I am calling method "changeColor()" of already instanciated FishOne (Arraylist rederable class) But it is failing with Index Out of Bound Exception. public void…