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

using onOffsetsChanged() to get home screen swipe direction

I'm working on my Live Wallpaper and I want it to scroll with the screen like a normal wallpaper does. I know I need to use onOffsetsChanged() but which parameter will tell me the direction that the home screen is being swiped? It seems like…
Gilleland
  • 176
  • 3
  • 7
1
vote
1 answer

Android Launcher: Allow touches to pass through to live wallpaper

I'm trying to create a simple Android Launcher. I'm also using a live wallpaper (Kustom LWP) that I can tap certain areas of to perform actions. I'm able to see the wallpaper using these style properties:
1
vote
1 answer

Admob Live Wallpaper on Display?

Is there a way to display an admob ad every hour or so right on the live wallpaper?
Derek
  • 11
  • 1
1
vote
0 answers

How does Live Wallpaper Works in Android?

I want to develop some live wallpaper apps for my Android Device and wanted to know the theory behind "How live wallpaper works?", which file format its supports? and How I can make my own live wallpaper app? I am currently a android developer with…
nirazverma
  • 1,001
  • 10
  • 15
1
vote
1 answer

Live Wallpaper preferences problem

So I have this big stupid problem with the preferences in my live-wallpaper. First, PreferenceManager.getDefaultSharedPreferences, doesn't work. I'm calling it in my Main class, a subclass of WallpaperService in the function onCreate. For the…
widgg
  • 1,358
  • 2
  • 16
  • 35
1
vote
1 answer

How to move a line randomly across the screen with android Live Wallpapers?

so I'm just starting to learn how to create live wallpapers in eclipse and I'm having trouble getting a simple line to move randomly across the screen after a random amount of time, sort of like a shooting star. I think my stop and start is wrong…
MJ93
  • 4,966
  • 8
  • 32
  • 50
1
vote
0 answers

WallpaperManager crash in Unity Android Live Wallpaper

I'm trying to build a live wallpaper by linking Unity to Android. I keep getting this error which happens inside the android code WallpaperManager. Anyone has any clue what is going on? I'm using Unity 2019.2.21f1 and compile using a Unity tool from…
kkl
  • 153
  • 2
  • 12
1
vote
2 answers

Optimizing Live Wallpapers

I find that whenever I'm creating a live wallpaper, things begin to lag. For example, when switching between the screens, the animation lags. In many other wallpapers I've seen, ones with much more demanding graphics, there is literally no…
1
vote
1 answer

Is there a way to use GLSL in a Live Wallpaper on Android?

So I used the code here to first initialize the OpenGL in my Live Wallpaper. But now I need to activate the GLSL, but there's no way to activate the it because the function setEGLContextClientVersion is missing. Another solution would be to be able…
widgg
  • 1,358
  • 2
  • 16
  • 35
1
vote
1 answer

License Verification Library in Wallpaper

I am currently trying to implement Google's LVL into my wallpaper but seem to have run into an issue with an exception I am not familiar with. I found this Question which helped me greatly, LVL licensing in a Live Wallpaper?. One of the suggestions…
Alejandro Huerta
  • 1,135
  • 2
  • 17
  • 35
1
vote
1 answer

HTTP Request inside Live Wallpaper

I am wondering if it is possible to make a background http request inside a live wallpaper (android service). Thanks!
Bartosz Stankiewicz
  • 323
  • 1
  • 2
  • 10
1
vote
1 answer

LiveWallPaper Change notifications in Android

Just wondering whether its possible to detect LiveWallPaper changes in Android. I looked into ACTION_WALLPAPER_CHANGED already. It works only for Wallpapers not for LiveWallpapers. Thanks
kakopappa
  • 5,023
  • 5
  • 54
  • 73
1
vote
1 answer

Portrait mode in livewallpaper question?

I have a livewallpaper and I want to my wallpaper work in portrait mode only. Can I do it?
George
  • 1,327
  • 11
  • 25
1
vote
1 answer

Why don't Live Wallpapers display correctly on a Samsung Epic 4G?

I have a very odd problem where live wallpapers will not work right on a Samsung Epic 4G. It works fine in the emulator as well as other phones running both 2.1, 2.2, and 2.3.3. I can not reproduce the problem in an emulator to try and fix it, and…
Joseph
  • 27
  • 1
  • 7
1
vote
1 answer

Canvas Object is null when app is launched in run mode and object has value when run on debug mode

Im using canvas object to set drawbitmap to set wallpaper change it based > on user selected interval. Canvas object is null when app is launched in run mode and in debug mode its not null. below is my code very strange behaviour public…