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

AndEngine Wallpaper rotate screen error

I'm developing Android live wallpaper on AndEngine framework. In moment when i change screen orientation in emulator wallpaper crashed with error: 09-05 14:25:32.003: E/AndroidRuntime(1310): FATAL EXCEPTION: GLThread 154 09-05 14:25:32.003:…
0
votes
1 answer

Get part of wallpaper according to current homescreen

I'm making a live wallpaper that switches images with various transitions. But I want to apply the transition only to the part of image that the user can see. And when the transition is complete, the whole wallpaper is drawn. Any ideas? I don't…
timemanx
  • 4,493
  • 6
  • 34
  • 43
0
votes
1 answer

Live wallpaper with list preference

I am trying to develop a live wallpaper which displays live scorecards using the android.service.wallpaper.WallpaperService. I planning to have a list preference for the wallpaper, which will the give the user an option to choose the match that he…
0
votes
2 answers

Live wallpaper getting force close issue

I am creating live wallpaper app, that runs perfectly on xhdpi and ldpi device, but getting force close issue in hdpi and mdpi based handset. It loads image in preview screen when we click "set wallpaper" it get crashed and even when we change…
moDev
  • 5,248
  • 4
  • 33
  • 63
0
votes
1 answer

Live Wallpaper FPS issue

I am developing a live wallpaper, in which basically I am rotating around 80 frames (jpg images) - the image size is around 80KB each (800 x 1200 dimension) - total images folder size is around 6 MB. The images loop fairly smoothly, but as soon as I…
Tejas J
  • 51
  • 2
  • 12
0
votes
1 answer

How to flip images in android live wallpaper

I want to make my live wallpaper flip between pictures every 5 seconds (for example). how can i make the flip action with this code ? public class MyWallpaperService extends WallpaperService { @Override public Engine onCreateEngine() { …
0
votes
1 answer

Livewallpaper launch from App Icon

I'm trying to launch my live wallpaper from the app icon & live wallpaper list. It works from the live list but from the app icon it breaks. Following is the code for both of them:
Oliver Dixon
  • 7,012
  • 5
  • 61
  • 95
0
votes
2 answers

WallpaperService and Accelerometer

After trying everything I thought I will try to see if someone here knows what is my problem, before I give up completely. So what I am trying to do is to make my image slide behind this "rotating cube". For example if I tilt my phone to right it…
Rohit Malish
  • 3,209
  • 12
  • 49
  • 67
0
votes
1 answer

Calling accelerometer from WallpaperService

I got this Accelerometer class that holds values of accelerometer and I can acces them from any other class whenever I want. Normally I would create new object Accelerometer accelerometer = new Accelerometer(this); but when I am inside…
Rohit Malish
  • 3,209
  • 12
  • 49
  • 67
0
votes
1 answer

Changing Sprites based on time of day

Ok im making a live wallpaper for android and i want the change the fish im displaying depending on what time of day it is. so i adding this into the looping thread public static int getCurrentHour() { // TODO Auto-generated method stub //i…
0
votes
1 answer

Periodic actions in Live Wallpapers

I'm trying to make sure I'm using the most efficient/proper code in my live wallpapers. Currently if I have any periodic action I just use Runnables to repeat the action and then after it's completed postDelay it for however long it needs to be. Is…
Jwc24678
  • 161
  • 1
  • 7
0
votes
1 answer

Android I have this error "Bitcode is not in proper container format (raw or wrapper)"?

Hello i am trying to make a water live wallpaper using renderscript, but i get this error. I think that has to do with the RS file(this file is in raw folder as it should be). RenderScript "Bitcode is not in proper container format (raw or…
djcharon
  • 319
  • 2
  • 9
  • 20
0
votes
1 answer

Live Wallpaper crash on startup

I followed a tutorial on Live Wallpapers and have seen other developers code on them and most get farther than I have with the same code only slightly modified. I just want to display a live wallpaper with a sequence of images but it crashes on…
user1493891
  • 21
  • 1
  • 5
0
votes
1 answer

Single ImageView in OpenGL live wallpaper Android

I wanted to know if there was a way to have an ImageView for the background image of an OpenGL live wallpaper for Android. I know that surface views cannot be used, but what is the equivalent? Because I would also like to add a TextView. For…
Steve C.
  • 1,333
  • 3
  • 19
  • 50
0
votes
1 answer

Live Wallpaper Either Center or Scrolling

I was working on my first ever android project, which is a live wallpaper, and I managed to get ti work through tutorials, examples, and even codes found in here, but I still have an issue that is keeping from finishing it. I want my live wallpaper…