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
1
vote
1 answer

Set wallpaper from file path

I have found plenty of details on how to set a wallpaper from a drawable etc however is it possible to do this from a file location. I have confirmed that the following code prints out the location of the file Toast.makeText(MyWallpapers.this, "" +…
Master Zangetsu
  • 262
  • 7
  • 20
1
vote
2 answers

Re sizing bitmap before sending to Wallpapermanager

I am needing some help with resizing a bitmap before sending it to the wallpaper manager so that when the user sets it as their wallpaper, it fits reasonably, 100% would be preferred. I am using wallpaper manager and am getting the image from an…
Jack
  • 2,043
  • 7
  • 40
  • 69
1
vote
0 answers

How to display the current live wallpaper inside an application?

How do you display the user's live wallpaper inside your application? Since live wallpapers are more than just videos, I am unsure as to where to start on this one, but I do know that it is possible.
msbg
  • 4,852
  • 11
  • 44
  • 73
1
vote
1 answer

iOS - Saving a wallpaper in SpringBoard directory

I jailbroke my iPod and I am making an app to change the wallpaper. I've already copied my wallpaper (image.png) to the SpringBoard folder. But the wallpaper in iOS are saved in the cpbitmap format and I don't know how I can generate this kind of…
fostermann
  • 11
  • 2
1
vote
1 answer

How to get a list of the desktops in applescript

I'm trying to make an applescript that let's me change the desktop picture to a random picture in a folder on my hard drive tell application "Finder" set desktopPictures to folder "Path:To:Desktop:Pictures:" set fileList to name of every file…
Witik
  • 13
  • 5
1
vote
1 answer

Android Wallpaper as background

How can I scroll wallpaper and send touch events to live wallpapers set as app backround. It is possible using @android:style/Theme.Wallpaper?
1
vote
2 answers

Center Android Wallpaper

I'm trying to make an app that changes the system wallpaper. In my code I get an image that has the desired minimum dimensions (from WallpaperManager). For example on the Nexus One the desired minimum dimensions are 884x800. When I get my image…
beenjaminnn
  • 752
  • 1
  • 11
  • 23
1
vote
0 answers

Android Launcher Live Wallpaper

So I'm making an android launcher app. Everything is done, without the live wallpaper support. I can't find anything on the subject. I currently can set any wallpaper, by choosing it from the gallery, but I can't find a way to do it with live…
ya-ivanov
  • 516
  • 2
  • 11
1
vote
1 answer

WallpaperManager suggestDesiredDimensions() has no effect on samsung phones

I have an app that applies wallpaper to the home screen with images that match the screen size. This is my code for setting wallpapers: WallpaperManager wallpaperManager = WallpaperManager.getInstance(MainActivity.this); BitmapFactory.Options…
Bersh
  • 2,789
  • 3
  • 33
  • 47
1
vote
1 answer

WallpaperManager.setBitmap() not setting wallpaper immediately

I set the wallpaper using this code: void SetWallPaper(Context MyContext, Bitmap MyBitmap) { WallpaperManager wpm = WallpaperManager.getInstance(MyContext); wpm.setBitmap(MyBitmap); } It works well and the bitmap is set as a wallpaper always.…
Ton
  • 9,235
  • 15
  • 59
  • 103
1
vote
0 answers

Drawing Round Rectangles on Theme.Wallpaper Background

I am new here, and I have a question. I hope someone can point me in the right direction. I'd appreciate it very much. I have started making an app which sets the user's phone wallpaper as the background for the app (using -->…
Kenny
  • 11
  • 3
1
vote
2 answers

What is the default resolution of a wallpaper that fits the homescreen exactly in an Android phone?

i am creating a wallpaper app for large and xlarge android devices so what should be my image resolutions that should fit home screens correctly.
MRK
  • 23
  • 6
1
vote
1 answer

Set local photo as wallpaper on Android

I use below code to set photo as wallpaper: try { File f = new File(PhotoPath); InputStream in = new FileInputStream(f); this.setWallpaper(in); } catch (IOException e) { e.printStackTrace(); } For some photo, it can set as…
brian
  • 6,802
  • 29
  • 83
  • 124
1
vote
1 answer

android wallpaper image path

I need to get the path of the image currently serving as a background image in the wallpaper. I managed to get the bitmap itself (using the drawable from the wallpaper manager) - but i dont need the drawable- i need the path so i can save it in…
Wops
  • 983
  • 9
  • 23
1
vote
2 answers

Set whole image as wallpaper irrespective of its size in android?

I am developing an application in android in which i am previewing some images to the user. The user can choose the image if it wants to set it as its phone background wallpaper. The problem i am getting is if my image is too big some part of the…
Wishy
  • 391
  • 2
  • 6
  • 18