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

Prevent Live Wallpaper orientation change when an application is opened and orientation is changed?

I'm having an orientation issue with a Live Wallpaper that I wrote. Basically the canvas will rotate depending on the application opened above it. I tested this and realized that the onSurfaceChanged() method is firing when I return to the home…
worked
  • 5,762
  • 5
  • 54
  • 79
11
votes
5 answers

Wallpaper not properly fit on device screen

I have one set of images in one drawable folder. I have one button to set image as wallpaper on device screen. But when I set this image as wallpaper its either zoom or cropped. I want image should fit on screen size. I have seen lots of links on SO…
John R
  • 2,078
  • 8
  • 35
  • 58
11
votes
3 answers

Android wallpaper/background dimensions

Which are the default dimension of the Home wallpaper/background for the various Android screen configurations (small, normal and large screens with low, medium and high density)? Are 9-patch PNG files supported for the wallpaper? Should I be using…
hpique
  • 119,096
  • 131
  • 338
  • 476
11
votes
2 answers

Get the current wallpaper in Cocoa

I'm using this code to get the current wallpaper: NSURL *imageURL = [[NSWorkspace sharedWorkspace] desktopImageURLForScreen:[NSScreen mainScreen]]; This works fine, but when i set a folder of pictures to be the wallpaper(As shown in the picture),…
user615816
  • 439
  • 4
  • 16
10
votes
3 answers

Change wallpaper programmatically using c++ and windows api

I've been trying to write an application, using Qt and mingw32, to download images and set them as the background Wallpaper. I have read several articles online about how to do this, in VB and C#, and to some extent how to do it in c++. I am…
Blue Peppers
  • 3,718
  • 3
  • 22
  • 24
10
votes
2 answers

Find out if different home- and lockscreen wallpapers are set

I have a running live wallpaper and react to SCREEN_ON event to display changes on the canvas. However on some phones the user can set a different lockscreen and homescreen wallpaper (Touchwiz, some Xperia devices). When the user has set a different…
Thrakbad
  • 2,728
  • 3
  • 23
  • 31
9
votes
2 answers

How to get current wallpaper on Android 13?

Seems like getDrawable() of WallpaperManager is useless on Android 13 since users can't get READ_EXTERNAL_STORAGE permission for it. Is there any way to get current wallpaper on API level 33? I mean without lowering targetSdk level, etc.
9
votes
2 answers

Set app background to be the same as home screen wallpaper

I want to set my app's background to be the same as my home screen's wallpaper. How can I get the home screen wallpaper in activity.xml? Can I do that?
virho
  • 149
  • 2
  • 2
  • 9
9
votes
3 answers

Live Wallpaper Water Ripple Effect

I'm working on a live wallpaper that incorporates some water ripple effects on touching the screen but I'm a little stuck. Would it be better to create multiple images and loop through them to create a ripple animation or would it be better to…
Gatekeeper
  • 6,708
  • 6
  • 27
  • 37
8
votes
1 answer

How to create Live Wallpaper in Android?

Can someone guide me how to create a live wallpaper in Android. And also, is there a process to use the photos within the gif and implement them into a live wallpaper? Because that's exactly what I am looking for
user858975
  • 233
  • 1
  • 7
  • 17
8
votes
1 answer

Change Windows Background from Python

Does anyone know a way to change the Windows Desktop Wallpaper with python so that the change is permanent? I have found this code import ctypes SPI_SETDESKWALLPAPER = 20 ctypes.windll.user32.SystemParametersInfoA(SPI_SETDESKWALLPAPER, 0,…
Michael Bell
  • 184
  • 1
  • 2
  • 16
8
votes
2 answers

Is it possible to programmatically change a user's screen saver and/or desktop background?

I have been asked to standardize the screen saver and desktop background used by everyone in my company and, aside from going around to each PC individually, I'm looking for a programmatic way to accomplish this. I am not a systems admin, so have…
waltersobchek.myopenid.com
8
votes
2 answers

White bitmap in android

I want to set home wallpaper with white bitmap: Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ARGB_8888); Canvas canvas = new Canvas(bitmap); canvas.drawColor(0xfff); WallpaperManager wall =…
Max Frai
  • 61,946
  • 78
  • 197
  • 306
8
votes
1 answer

Slideshow Wallpaper Windows 7

How to set Windows 7 Wallpaper slideshow programmatically? Setting a normal wallpaper [DllImport("user32.dll", CharSet = CharSet.Auto)] private static extern Int32 SystemParametersInfo(UInt32 uiAction, UInt32 uiParam, String pvParam,…
HW90
  • 1,953
  • 2
  • 21
  • 45
8
votes
2 answers

Getting all system wallpapers

Is there a way to programatically get all the android system wallpapers? I know how to get the current one, via WallpaperManager, and then save it to disk. But I want to know if there is a way to access all the pictures that act as system wallpaper…
Ton
  • 9,235
  • 15
  • 59
  • 103
1
2
3
50 51