wallpaper

How do I launch the Preview/Select Wallpaper activity for my Wallpaper from inside an Activity?

风流意气都作罢 提交于 2019-12-13 18:43:55
问题 I think my question is fairly straight forward... how do I launch the standard activity for previewing my Live Wallpaper from within an Activity (of the same application)? *Edit: In Logcat... here is the entry when you launch the intent I want to use... 04-06 09:44:08.369: INFO/ActivityManager(17452): Starting: Intent { cmp=com.android.wallpaper.livepicker/.LiveWallpaperPreview (has extras) } from pid 21944 回答1: Do you mean something like this? Make an activity that holds the Live Wallpaper

Swift - Change iPhone background

梦想与她 提交于 2019-12-13 09:46:41
问题 I was thinking about changing iPhone background using app. Is there some code in Swift to change iPhone background? I don´t mean change background of app. I mean change background totally of the iPhone. 回答1: There is no way to currently access the device's Wallpaper as of now. Essentially Apple doesn't allow it, though jailbroken devices can access this functionality. You also aren't allowed to set or change the wallpaper of the entire phone in third party apps. The user has to do that

Wallpaper not properly fit on Samsung devices

不羁的心 提交于 2019-12-13 07:57:12
问题 I want to set wallpaper through app for all device but problem is that my following approach work for Moto, sony, micromax but not properly fit for any samsung device like samsung S3, samsung duos, Tab etc, in these devices wallpaper is much zoom see in screenshots. please guide me for solve this problem. private void setMyWallpaper() { WallpaperManager myWallpaperManager = WallpaperManager .getInstance(getApplicationContext()); DisplayMetrics metrics = new DisplayMetrics(); getWindowManager(

WP7 - change home screen background programmatically

穿精又带淫゛_ 提交于 2019-12-12 19:19:15
问题 Is there any way/API available in order to change the home/lock screen background wallpaper programmatically? 回答1: There is no API that provides this functionality at this time. There is already a feature request for this on UserVoice that you can vote on here: http://wpdev.uservoice.com/forums/110705-app-platform/suggestions/1720049-provide-a-wallpaper-api-to-enable-in-app-setting-o?ref=title 来源: https://stackoverflow.com/questions/7470177/wp7-change-home-screen-background-programmatically

Get ID from ImageView and set as wallpaper on click

柔情痞子 提交于 2019-12-12 13:23:55
问题 I am creating wallpaper application and I am stuck at one litle problem. I've made application with image view and button to set as wallpaper. But there is a problem. When I open the picture and click on Set as Wallpaper button I want it to get ID from OPENED picture and set that picture as wallaper. here is my code public class FullImageActivity extends Activity { int toPhone; ImageAdapter display; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState)

How to create Live Wallpaper in Android? [closed]

匆匆过客 提交于 2019-12-12 07:57:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . 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 回答1: If you want to explore more, and use a template for it. You should check andEngine template for

set wallpaper using ACTION_SET_WALLPAPER

此生再无相见时 提交于 2019-12-12 06:14:32
问题 I'm currently setting the wallpaper using wallpaper manager passing it a bitmap this works but this image is static so it doesn't move with the screen and it doesn't give me an option to crop the image. I want to use the ACTION_SET_WALLPAPER at the moment when I call it, it works for saving the image but when it tries to set the image to crop it, it gives me a toast "failed to load image" and quits back to my application, my attempt Bitmap bitmap = ((BitmapDrawable) WallpaperView.getDrawable(

how to make wallpaper changing app programatically in ios?

試著忘記壹切 提交于 2019-12-12 04:58:01
问题 I want to make an ios app that changes the wallpaper, lockscreen and app icons. I have googled it a lot and got same ans that apple doesn't allow this. But on itunes I saw a app named "magic theme" which does this. Here is the link. Can someone tell me the trick how can I do this in my app? 回答1: This is not possible. The app your link provides is for creating / designing or modifying existing wallpapers. Changing apps icons is also not possible. Read the apps description carefully and try it

Change laptop Mac OS X wallpaper upon location [closed]

亡梦爱人 提交于 2019-12-11 10:17:09
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I'd like to display different wallpapers regarding the physical location where I turn on my laptop. I.e.: at home I want to see Wallpaper-A and at office I want it to be Wallpaper-B. Is there a way (an App, an AppleScript) that could detect laptop's location (i.e. wifi connection) and then update wallpaper? I

How to get a list of the desktops in applescript

删除回忆录丶 提交于 2019-12-11 07:52:08
问题 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 of desktopPictures set theNum to random number from 1 to (count fileList) with seed ((time of (current date)) * 4) set fileName to item theNum of fileList set desktop picture to file fileName in desktopPictures end tell So far it works perfectly, the