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
2 answers

Android LWP, How to refresh RenderScript objects after Setting Preferences Changes?

I have developed Android LWP using RenderScript. Now I want to add Setting Page and I use Preferences to save the option values. EG. Initial objects quantity is 10. Then user can change the objects quantity to 20. I cannot…
stuckedunderflow
  • 3,551
  • 8
  • 46
  • 63
2
votes
1 answer

The wallpaper image stays when i uninstall my application that sets it using WallpaperManager?

in my application i'm using WallpaperManager to set an image as a wallpaper for the device the problem is that when the application is uninstalled the image will stay, though it should be deleted i thought about this approach which is detecting…
mmoghrabi
  • 1,233
  • 1
  • 14
  • 23
2
votes
1 answer

Live wallpaper and Preview Mode Android

i am writing a code for live wallpaper, well live wallpaper is done, but i have problem with it. I open Live wallpaper selector and i take my Live wallpaper, and i set it, but when i set it preview mode is destroyed and another instance of…
Allen
  • 65
  • 9
2
votes
2 answers

How to use Toast messages in Andengine Live Wallpaper Service

I am making an andengine live wallpaper. The problem is that since i have a lot of textures , the loading of my wallpaper onresume takes a lot of time. How do i reduce this time. Also I want to insert a toast message in onresume() method so that the…
Swati Rawat
  • 1,729
  • 1
  • 19
  • 34
2
votes
0 answers

offsetChange callback not invoked on Android 4.0.4 while using Libgdx Live Wallpaper

I made a live wallpaper using Libgdx for android. It is working fine on devices below 4.0.4 but on devices having operating system 4.0.4 and above my live wallpaper is not getting callback in offsetChange() listener. Libgdx is forwarding the…
Paras Mittal
  • 1,159
  • 8
  • 18
2
votes
1 answer

onSharedPreferenceChanged called without any preference being changed Andengine Livewallpaper

I am making a live wallpaper using andengine. The problem is in setting screen. When i press the settings button in the preview screen, my onSharedPreferenceChanged() method is called automatically.. which i think should not happen unless i am…
Swati Rawat
  • 1,729
  • 1
  • 19
  • 34
2
votes
0 answers

How do I handle the Apply button in live wallpaper settings?

I have a live wallpaper. I bring up the Preview activity and I see two buttons at the bottom Apply and Settings. Pressing the Settings button brings me into my settings activity where the user can modify the wallpaper's preferences. When the user…
Mr. Awesome
  • 575
  • 1
  • 6
  • 19
2
votes
0 answers

How to scroll images using Live Wallpaper?

I followed the link but its not perfectly working.. Main Code private void drawFrame() { final SurfaceHolder holder = getSurfaceHolder(); Canvas c = null; try { c = holder.lockCanvas(); if (c !=…
moDev
  • 5,248
  • 4
  • 33
  • 63
2
votes
1 answer

Android animated wallpaper from images

I am trying to make an animated Android background, using a few images that I am drawing. I draw the images step by step, but the phone draws quite it slowly. I am trying this: public class MyWallpaperService extends WallpaperService { …
2
votes
1 answer

Android Live Wallpaper background

I have LiveWallpaper which is in the fact that the fall snow. In what ways to add a background? I want to insert a picture. public class SnowService extends WallpaperService { private final static int[] windCurve =…
Goliathus
  • 77
  • 1
  • 3
2
votes
0 answers

Start Activity From Wallpaper Service (not preference related...)

I have a live Wallpaper. This live wallpaper has a settings page implemented from PreferenceActivity. Everything works as expected. So far, so good. From my Wallpaper Settings page..I want to start another activity (a details activity...with info,…
Mr. Awesome
  • 575
  • 1
  • 6
  • 19
2
votes
2 answers

Small screen size in OpenGL only on Samsung S3 with Jelly Bean

My app has been working well (on most phones) until recently when the samsung s3 was updated to Jelly Bean. The screen looks like this: - It works fine on an S3 using ICS and on most other phones (including other samsung phones). Any ideas what is…
2
votes
1 answer

IllegalArgumentException when switching to settings activity in live wallpaper

I have a live wallpaper that is running fine. I wanted to add a settings activity to it, so I did all of the required steps and the settings button showed up when I went to the live wallpaper chooser. However, when I click on the settings button, I…
gsgx
  • 12,020
  • 25
  • 98
  • 149
2
votes
1 answer

Android live wallpaper service - get screen rotation

I try to make live wallpaper for android, but i can't get screen rotation, because lwp - it's a service, not activity. I need integer value (0/90/180/270), not orientation (landscape/portraite), like if i'm call something like this: ((Activity)…
semtiko
  • 71
  • 1
  • 1
  • 7
2
votes
0 answers

strange behaviour of live wallpaper in preview

Possible Duplicate: android live wallpaper rescaling AndEngine Live wallpaper preview Bug? I am developing a live wallpaper using AndEngine. The problem is when i preview th wallpaper in portrait mode it works fine, but when rotate the wallpaper…
Usman Iftakhar
  • 278
  • 5
  • 17