Questions tagged [wallpaper]

Wallpaper is the background image on one's "desktop" or "home screen."

Wallpapers vary from system to system both in function and nomenclature. In Mac OS X, the wallpaper is called the "desktop picture." It is a static image or series of images that the operating system cycles through. Its function is purely decorative. In addition to traditional (static) wallpapers, Android (v2.1+) offers "live wallpapers." Live wallpapers are similar to normal applications, though slightly different (they are services rather than activities, so their capabilities are not quite the same). Live wallpapers extend the traditional wallpaper concept by allowing for interactivity, animation, and access to system functions. One of the challenges facing the live wallpaper developer is that the wallpaper is often overlaid with icons, widgets, and the like, beyond the programmer's ability to control or often even to detect.

763 questions
7
votes
3 answers

How to set Live Wallpaper automatically everyday in android

I am developing a wallpaper app. We can add simple wallpaper automatically by using the following code with a service. final WallpaperManager wallpaperManager = WallpaperManager.getInstance(this); final Drawable wallpaperDrawable =…
Himanshu
  • 1,066
  • 6
  • 19
  • 44
7
votes
1 answer

Changing Wallpaper with a batch file, on program close. Possible?

I'm trying to create a batch file that will change my background when a program closes on Windows 7. I've tried using this, but it doesn't work, even when I log off and log back in: @echo off reg /add HKCU\Control Panel\Desktop\WallPaper /v…
sagev9000
  • 79
  • 1
  • 1
  • 3
7
votes
1 answer

Wallpaper offset for API level 3?

I've all but finished my little wallpaper app. The only thing now is that I can't find any method for offset on API level 3. No matter what size image I use, it is not centered in my test phone. It looks great on the emulator, but what to do about…
user580162
  • 73
  • 1
  • 4
7
votes
3 answers

Setting wallpaper in Android

I am developing a simple app that sets wallpapers based on user input. I am missing code for setting wallpapers. I have been looking for it in lots of websites in vain. Can anybody post a sample code that sets as a wallpaper as a drawable that is…
Amine
  • 195
  • 2
  • 8
7
votes
1 answer

W10 UWP - Set remote image as desktop wallpaper / lockscreen

I'm trying to set a remote image as the desktop wallpaper / phone lockscreen in my W10 UWP app: string name = "test_image.jpg"; Uri uri = new Uri("http://www.ucl.ac.uk/news/news-articles/1213/muscle-fibres-heart.jpg"); // download image from uri…
Travis Liew
  • 787
  • 1
  • 11
  • 34
7
votes
1 answer

How to set wallpaper in Android

I am using Android SDK 1.6. Could someone tell me how to set an image as the wallpaper in the homescreen. getApplicationContext().setWallpaper(); seems to be not working for me.
XaB
  • 71
  • 1
  • 1
  • 2
7
votes
2 answers

Android - How to set the wallpaper image?

Possible Duplicate: Android - how to set the wallpaper image What i'm trying to do is, set the wallpaper using an image URI (no cropping) I'm a noob at dev on Android and dev in general. The internet has failed me... on providing code to set the…
asdf.BEN
  • 71
  • 1
  • 1
  • 2
7
votes
3 answers

Changing wallpaper on Linux programmatically

How would I change the wallpaper on a Linux desktop (using GNOME) within a C/C++ program? Is there a system API to do it?
nonpolynomial237
  • 2,109
  • 4
  • 27
  • 35
7
votes
4 answers

WallpaperManager zooms image even though the dimension match the screen

I have an app that applies wallpaper to the home screen with images that match the screen size, however on the galaxy s3 the wallpaper is zoomed in when I apply it, even though the image used exactly matched the screen dimensions! It is a static…
AndroidNoob
  • 2,771
  • 2
  • 40
  • 53
6
votes
1 answer

Notification when desktop wallpaper changes?

is there any kind of notification available for when the desktop wallpaper is changed? Thanks!
BenL0
  • 277
  • 1
  • 9
6
votes
2 answers

Android - Live Wallpaper offset clipping

I am writing a live wallpaper for android. To test my basic code was working I drew a rectangle in the top left-hand cornor of the screen: canvas.drawRect(0f,0f,50f,50f,paint); Half of the rectangle was underneath the bar at the top of the home…
user130076
6
votes
2 answers

Android - WallpaperService why does my Engine have to be a inner class?

I'm working on a simple android live wallpaper, I'm following chapter 12 from Hello, Android as my guide. The bare-bones of a wallpaper service looks like this: public class MyWallpaper extends WallpaperService { private class MyEngine extends…
user130076
6
votes
2 answers

ImageView wallpaper inside custom view is not showing up on some devices

I currently have the following XML code for my custom view:
Pink Jazz
  • 784
  • 4
  • 13
  • 34
6
votes
0 answers

get image of current live wallpaper

I am working on an android app that extracts the most dominant colours from the current wallpaper using wallpapermanager and the new palette api. I have a problem now because I can't extract any colours when using a live wallpaper like muzei for…
user2625636
  • 351
  • 1
  • 2
  • 10
6
votes
1 answer

How to make Android Live Wallpaper with LibGDx?

I want to make Android Live Wallpaper using LibGDx. I created the project following the instructions from this github link but Eclipse show error: "The method createListener() of typeMainActivity must override or implement a supertype method" "The…
user3140071
  • 63
  • 1
  • 3
1 2
3
50 51