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

Live Wallpaper onOffsetsChanged not called in custom Home application? Android

I am implementing a live wallpaper for android. I observed that the onOffsetsChanged(float xOffset, float yOffset, float xStep, float yStep, int xPixels, int yPixels) can be used to check the current live screen on the home application. How ever…
Vinod
  • 31,933
  • 35
  • 96
  • 119
1
vote
2 answers

Change Wallpaper intent Application crashes in Nook Color:

I need to develop a Wallpaper application for Nook Color. I have installed the Nook color addon after that when i use this code in my app and it gets crashed every time. The below API Intent to allow any application to open the Wallpaper Settings…
fargath
  • 7,844
  • 6
  • 24
  • 36
1
vote
2 answers

How to set remaining days in Live wallpaper in Android

I created an application to calculate remaining days in Android. I also have live wallpaper application. Now I want to set that remaining days in live wallpaper screen. How can I do that?
user647826
1
vote
1 answer

how to add layouts in android livewallpaper

i have created live wallpaper using canvas now i want to add the layout like(relative layout) if its possible? in live wallpaper we can able to use layout? please guide me how to add layout here if its possible? if possible means how can i called…
user1127616
1
vote
2 answers

How to get information about current live wallpaper app, without using QUERY_ALL_PACKAGES permission?

If you vote to close this, please explain why. Background For my tiny live wallpaper app (here), I offer to import previous wallpaper. I've noticed an issue of targeting API 33 that will cause me to use a more broad storage permission (written here…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
1
vote
0 answers

Live Wallpaper touch and drag

How would you handle a touch and drag motion event on a live wallpaper to drag a bitmap in any direction? SOLVED: Found a solution at http://www.andengine.org/forums/post22486.html#p22486
ababzy
  • 687
  • 10
  • 16
1
vote
2 answers

Android 13: determine if a Live Wallpaper is set

I would to check if my Live Wallpaper App is set as Live Wallpaper. The following code works on Android <= 12, but not in Android 13 (sdk 33). public static boolean isLiveWallpaper(Context context) { if (Service._handler == null) { …
Simone Sessa
  • 795
  • 1
  • 12
  • 35
1
vote
0 answers

Crashing Livewallpaper

I'm working on a live wallpaper and I want to have some images randomly placed on the background of a surfaceview, everything works in the emulator but when i run it on my the program crashes. I dont know how to get an actual log on my phone because…
Mars
  • 107
  • 1
  • 13
1
vote
1 answer

How to render OpenGL on a live wallpaper (It's way too HARD!)?

So imagine you have and android application (not live wallpaper), and lets say it features a cube rendered in OpenGL with textures and lighting and all that. Now, how would you port that into a live wallpaper? Now i already have a way to do it, but…
Mohammad Adib
  • 788
  • 6
  • 19
  • 39
1
vote
1 answer

Android image effects?

I want to develop android livewallpaper and add water drop or rain or any other kind of effects to the wallpaper image, how can I do so ?
Tareq
  • 11
  • 1
1
vote
1 answer

How to place a static background image for live wallpaper?

I have an opengl live wallpaper that shows a rotating shape. I would like to place a static image as a background behind the rotating shape. What code would accomplish putting a static background behind an opengl rotating shape?
1
vote
1 answer

Problem rendering a mesh from an OBJ file

I am having a problem adapting and or I guess understanding the vertices/indices/faces in an OBJ file. I want to eventually parse a OBJ file programmatically but first I need to understand how to do it manually. I am using an adaptation of the…
Joey
  • 142
  • 2
  • 14
1
vote
2 answers

Android - cam.setPreviewDisplay(holder) running into IOError

I am trying to use the camera's image as part of live wallpaper. In the Engine that I declared, I have this code: public class Class extends WallpaperService { Camera cam; @Override public void onCreate() { …
Razor Storm
  • 12,167
  • 20
  • 88
  • 148
1
vote
1 answer

image quality becomes bad after many drawBitmap's

my program draws a bitmap on the live wallpaper canvas. It works, but after some time the image becomes very bad (http://img855.imageshack.us/img855/9756/deviceq.png) any ideas why? package com.tripr; import java.io.BufferedOutputStream; import…
ihucos
  • 1,821
  • 3
  • 19
  • 30
1
vote
2 answers

Application like the one in description

I have been developing Android apps, but never did a live wallpaper. I have seen one in the market, and just confused how to do a live wallpaper like the https://market.android.com/details?id=com.anifree.anipet.aquarium How do i do? Is it that i…
nithinreddy
  • 6,167
  • 4
  • 38
  • 44