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

Prevent Live Wallpaper from changing screen orientation

I'm working on a Live Wallpaper and I would like to keep it always in portrait mode. I know it's possible for an Activity to declare the orientation in the Manifest, but I can't find a way to do the same with a live wallpaper service. Is it possible…
4
votes
1 answer

error with setting live wallpaper

I am trying to create an live wallpaper. When i use the same code in activity i produces the the desired result. but if i use that same code for creating live wallpaper, i always get the black screen. Please help. Mainfest File
android_newbie
  • 667
  • 2
  • 14
  • 32
4
votes
1 answer

No Activity found to handle Intent { act=android.service.wallpaper.CHANGE_LIVE_WALLPAPER (has extras) }

I am creating a live wallpaper application for android. I've written some code but I am getting following error Caused by: android.content.ActivityNotFoundException: No Activity found to handle Intent {…
android_newbie
  • 667
  • 2
  • 14
  • 32
4
votes
1 answer

OnTouch not working in Live Wallpaper

Hi I am making a live wallpaper by the help of http://www.rbgrn.net/content/354-glsurfaceview-adapted-3d-live-wallpapers. Now I want to attach touch detection on home screen. That is, after setting the wallpaper user can touch wallpaper so that…
DkPathak
  • 452
  • 1
  • 4
  • 16
4
votes
0 answers

How to set the background of the application to be animated (Live wallpaper?)

I have a simple application for Android and would like to set the background to be animated. How can I do this? I have to create a live wallpaper, install it on phone and then use in my application? If so, how do I use it in my application? Is it…
Tgomes
  • 51
  • 2
4
votes
1 answer

How to load images as background in LibGDx?

I make live wallpaper and I have one issue. I want to set image as background and Eclipse show error: 01-10 10:37:18.206: E/AndroidRuntime(1045): FATAL EXCEPTION: GLThread 99 01-10 10:37:18.206: E/AndroidRuntime(1045):…
Tomeksss
  • 303
  • 2
  • 4
  • 11
4
votes
1 answer

Android OpenGLES device issue

I have recently started learning OpenGLES with Android. I am creating a livewallpaper with GLWallpaperService class with rendering. The problem with Android simulator is able to display animation but while testing with Android device (HTC…
4
votes
2 answers

Android OpenGL ES Textures Showing On Black screen on Some Samsung devices

I recently worked on a live wallpaper application. In that i found out my Android live wallpaper has an odd issue. I use my HTC Wildfire S, Samsung Galaxy tab, Motorola Droid Millstone, Samsung galaxy pop to test my wallpaper along with the emulator…
Satheeshkumar
  • 452
  • 4
  • 13
3
votes
1 answer

OutOfMemory errors with Bitmap on LiveWallpaper on Galaxy Nexus

I have an Android app which loads about 30 Bitmaps into memory. These are jpg resources which are 455x320 px. This works on all devices I've tested from a G1 to a Galaxy Nexus. I have another version of this app which is a LiveWallpaper. It…
3
votes
3 answers

How to scale Live Wallpaper to screen size?

I have been working on creating a live wallpaper lately by placing a bitmap image on a canvas. I created the images to fit a screen size of 480x800. The problem is that when I load the live wallpaper onto a tablet or larger screen size it does not…
Gatekeeper
  • 6,708
  • 6
  • 27
  • 37
3
votes
1 answer

Where do I use getWindowManager() within Live Wallpaper?

I'm getting the error "The method getWindowManager() is undefined for the type LiveWallpaperService" Since I'm creating an activity there is no way to reference that, how would I go around getting the screen width and height before the main class…
Oliver Dixon
  • 7,012
  • 5
  • 61
  • 95
3
votes
1 answer

Android live wallpaper crashing because of custom fonts

I'm trying to create a live wallpaper in Android. It has a text drawn on it in the following way, with customs string placed in the assets directory: String path = "fonts/calligraffiti.ttf"; AssetManager a1 =…
3
votes
1 answer

How to have live wallpaper open directly from the market?

Is it possible to configure my project manifest, so that when a user presses "open" on the android market, my live wallpaper is applied straight away? Some users don't seem capable of figuring out that they need to apply a wallpaper after install.
AaronDS
  • 851
  • 2
  • 13
  • 31
3
votes
3 answers

How to get the path of current active desktop wallpaper using Java

I want to make some changes on active desktop wallpaper like adding watermark. For that I need to get the path of the active wallpaper. Adding the watermark I can do. This can be done using JNA library, but I can't access the file path.
pankaj_ar
  • 757
  • 2
  • 10
  • 33
3
votes
1 answer

Accessing Gmail emails in Android

So basically I'm attempting to make an interactive live wallaper that basically displays your unread gmail emails on your wallpaper. I'm trying to figure out how to access a person's gmail account on their device (with their permission of course). I…
Brayden
  • 521
  • 1
  • 5
  • 17