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

Using WallpaperService to set wallpaper based on selected frequency by user

I am using WallpaperService to set the live wallpaper on homescreen. I am able to set 10 pics from resources and rotate them, based on static frequency using thread. I want user to give the option of selecting multiple frequency. I tried to pass the…
LaJ
  • 45
  • 1
  • 7
1
vote
0 answers

How to set Text Clock or Text View On Live Wallpaper ? is it possible to set hole xml loyout on wallpaper?

I want to develop digital clock I have complete the whole layout in XML. But Now I Want to Set it on Wallpaper. Is there any way to set Text Clock On wallpaper.
1
vote
0 answers

Video Live Wallpaper update video source not working

I set video as live wallpaper and it work fine. But when i change that video by replacing the path. In Preview it show the video changed but after click on "SET WALLPAPER" the previous one is not changed. How can i change the current video with new…
ibad ur rahman
  • 1,381
  • 4
  • 18
  • 40
1
vote
0 answers

How to set a libgdx livewallpaper screen orientation only in portrait mode?

I am creating an Android Live Wallpaper with Libgdx , It is just a circle on the screen which gets a random color and position and it slowly moves up . The issue is I want the program only in portrait mode but when i turn my phone it goes into…
1
vote
0 answers

How to set parallax layout as my layered live wallpaper which moved with device acceleration?

private ParallaxLayerLayout parallaxLayout; private SensorTranslationUpdater translationUpdater; translationUpdater = new…
Krupali Shingala
  • 192
  • 2
  • 14
1
vote
0 answers

Live Wallpaper issue

I am developing a Live Wallpaper Application. In it when I try to set a live wallpaper for the first time it is done, but while doing it again it is not overwritten. If I put an image in between it is done. Then will anyone help me to know how to…
1
vote
1 answer

setting background bitmap in live wallpaper

I just started writing a live wallpaper. What I would like to do is to set the background to a bitmap from my resources. And I will draw my animations on top of this. What is the most efficient way to do this? Is there a way to set the background…
jbww
  • 735
  • 2
  • 12
  • 27
1
vote
3 answers

Android LIVE Wallpaper approach?

I'm entirely new to Android development, and I'm interested in making a live wallpaper. I was thinking about looping a set of pictures instead of drawing the animation. Is this a possible approach? If possible is this a suitable or ideal way of…
NJanf
  • 359
  • 2
  • 6
  • 21
1
vote
0 answers

Multiple canvases on Live Wallpaper (one moving, one stable). How?

How can I draw multiple canvases on Live Wallpaper? I want a live wallpaper having a background image (bitmap), and on the image there would be an object, which follows your finger. But I can't draw more than one canvas. I've already went through…
kazmer1998
  • 23
  • 1
  • 6
1
vote
1 answer

Stop music when app is closed

i'm trying to create an app that play music (Radio Stream) in background (Without Service) and also allow user to set Gif as live wallpaper (using WallpaperService). ISSUES : My problem sometimes the streaming radio take time to play and when i…
ali
  • 189
  • 3
  • 14
1
vote
1 answer

How to use Oreo's WallpaperColors API in LiveWallpaper using Libgdx?

I am trying to create a livewallpaper for android which uses Android 8.1's WallpaperColors API to change systemUI to dark or light depending on the livewallpaper color. This is my LiveWallpaperAndroid.java public class LiveWallpaperAndroid extends…
1
vote
1 answer

Activity / Live Wallpaper communication in Android

I've got a live wallpaper that I'd like to communicate with from an Activity in the same package. I've never done any work with services. Would I be able to use the Local Service pattern, or am I restricted because my service is a live wallpaper,…
Josh
  • 10,618
  • 2
  • 32
  • 36
1
vote
0 answers

Android - Implement security in WallpaperService

I am using the WallpaperService class to set a live wallpaper on the device. I want to implement security on the system screen (to prevent screenshot or recording) where the 'Set Wallpaper' button shows up by the android system. So far, I have found…
1
vote
0 answers

unable to set live wallpaper

I have create an application in android 2.x , in which there are few activities and a livewallpaper service which creates live wallpaper so after building and running the whole application in a simulator , if i access Livewallpaper from…
Hunt
  • 8,215
  • 28
  • 116
  • 256
1
vote
0 answers

Set up a LiveWallpaper

I have found plenty of tutorials on how to set as wallpaper an image, a png for instance. But what I am trying to do is make my wallpaper in code and then set it. This is because I want the user to be able to tweak the wallpaper (eg. choose…
Code Poet
  • 6,222
  • 2
  • 29
  • 50