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

CPU may be pegged, OpenGL live wallpaper locks up

I'm having a strange, and very random bug occur within an OpenGL live wallpaper that I'm developing. My code is structured in such a way that the OpenGL scene 'pauses' and then 'resumes' when the user enters and exits the Preferences screen.…
arkon
  • 2,209
  • 3
  • 27
  • 36
3
votes
1 answer

Wallpaper does not set on lock screen on MIUI 10.2 redmi devices

I am trying to set wallpaper on lock screen in miui 10.2 Redmi devices. I can set home screen wallpaper using this code : wallpaperManager.setBitmap(crackedBitmap); But when i am trying to set lock screen wallpaper using this code it's not…
Sagar gujarati
  • 152
  • 1
  • 15
3
votes
1 answer

Live wallpaper as app background

Is it possible to add live wallpaper as background into an app?
CeccoCQ
  • 3,746
  • 12
  • 50
  • 81
3
votes
1 answer

Android: Use WebView for WallpaperService

TL;DR: I'm making a live wallpaper using WallpaperService, and I want to draw to it from a WebView. However, when I create the WebView, it's 0 width and height, so nothing draws but the WebView's background color. There is an old fix for that in How…
iangilman
  • 2,144
  • 1
  • 13
  • 16
3
votes
2 answers

android live wallpaper rescaling

I am learning how to make live wallpapers, but I have a dilemma I'm sure all who start off have as well. There is so many resolution screen sizes, how can I just make one set of artwork to be rescaled in code for all versions? I know it's been done…
sam
  • 31
  • 1
  • 1
  • 3
3
votes
1 answer

Live Wallpaper gradient banding: is it possible to use ARGB_8888 or dithering to fix?

I am creating a Live Wallpaper and I'm painting to the canvas on every Runnable.run() call with a changing colour and i'm hoping to put a gradient over the top but the gradient i'm creating is banding horribly. After Googling around for a few days I…
obie
  • 578
  • 7
  • 23
3
votes
0 answers

Is it possible to host (or mimicking hosting) of views withing live wallpaper?

background I've made a simple app called "LWP+", which shows a cropped image . When the user chooses a photo, I save it into a file, and then do the cropping when needed. I do this by using 2 libraries. One for allowing the user to choose the…
3
votes
2 answers

How to create an OpenGL live wallpaper?

I'm trying to find the right approach for creating an Android OpenGL live wallpaper i.e. a way to convert an app written to use GLSurfaceView into a live wallpaper. There appears to be nothing in the official Android documentation about this…
RichardNewton
  • 876
  • 1
  • 12
  • 20
3
votes
1 answer

Android Live Wallpaper Touch Event Hierarchy

I have a Live Wallpaper that uses various screen touches to trigger certain events. At the moment it is working but I seem to get all touch events. For example, when the user touches an icon to launch an app, I seem to get that event too. Is it…
Richard
  • 135
  • 1
  • 7
3
votes
1 answer

launch browser intent in live wallpaper

I am trying to load BROWSER VIEW intent in android within onTouchEvent. Basically I have created a live wallpaper and if I click on it then I want to open BROWSER VIEW intent with a specified uri. I have tried following code inside onTouchEvent Uri…
Hunt
  • 8,215
  • 28
  • 116
  • 256
3
votes
1 answer

WebView as a Live Wallpaper?

Is there a way to set a WebView as a Live Wallpaper? Any links/hints greatly appreciated! Thanks!
Rad The Mad
  • 640
  • 3
  • 9
  • 17
3
votes
0 answers

Add png texture in GLSurfaceView.Renderer

I want to add another Texture from a PNG Image, it is more like a logo so I wanted it to be in center and in the background shows the GLSurfaceView with all its effects and models. Please see my nicely done illustrations. …
3
votes
0 answers

Android Homescreen touch Event Places a view on it , And another Touch Event destoys the View

I have android Homescreen TouchEvent,Basically what i wanted to achieve was a view should come form down of the screen and cover the Homescreen . And the view should be closed on another touch event. Now all the back button,homebutton,recent button…
Rumour
  • 310
  • 3
  • 20
3
votes
2 answers

How do I restart this wallpaper engine after settings have been updated?

I'm creating a live wallpaper and I'm using this tutorial as a starting point: http://code.tutsplus.com/tutorials/create-a-live-wallpaper-on-android-using-an-animated-gif--cms-23088 I'm trying to add a settings menu to let the user choose one of…
3
votes
0 answers

Google Maps API for Android in a WallpaperService (live wallpaper)

Is there a way to use the Google Maps API for Android in a Live Wallpaper? From looking at the API, mapViews seem to require a MapActivity, so I'm not sure if there an easy way to make this work in a WallpaperService out of the box.
user389940
  • 31
  • 1