Questions tagged [android-wallpaper]

Questions about or related to the wallpaper features of Android.

In Android devices, wallpaper is an image used as a background for the graphical user interface. In most devices, the wallpaper usually refers to the background for the 'home' or 'idle' screen. Though most devices come with a default picture, users can usually change it to files of their choosing.

166 questions
0
votes
3 answers

OutOfMemory error while applying wallpaper

I'm having an OutOfMemoryError when trying to apply a wallpaper to device. I'm using an AsyncTask and sometimes it works fine, but sometimes this happens. May someone help me to optimize it even more? Thanks in advance. AsyncTask code: public class…
0
votes
2 answers

Set XML file as wallpaper?

I have xml shape file
Marsh K
  • 151
  • 1
  • 2
  • 9
0
votes
2 answers

How to set android Lock Screen Wallpager via Intent

I see many people have asked about this problem like here, here and ... but I can not find any solution. However, I see some background app on playstore can do it. My purpose is that I want to open intent for set lock screen wallpager like …
user4732137
0
votes
1 answer

WallpaperManager from Fragment class

This is my first post, so bear with me. I am trying to set a wallpaper, from inside a fragment class. I am using UIL and the bitmap I want to use is loaded from a URI and is inside a Page Adapter class. I have no idea how to pass the bitmap to the…
0
votes
1 answer

Android:How to access the default gallery app's wallpaper using Intents

So, I'm making a gallery app that gets an image in the form of a Bitmap. I want the Android default gallery app to handle this. I used the Wallpaper intent but it again asked me to choose which image I wanted to set as Wallpaper. I wanna pass this…
user1790457
0
votes
1 answer

Set wallpaper using RecyclerView

I need to set an image as wallpaper using RecyclerView. In my adapter i'm using this code: @Override public void onBindViewHolder(ViewHolder viewHolder, final int i) { final GridItem nature = mItems.get(i); …
Atlas91
  • 5,754
  • 17
  • 69
  • 141
0
votes
1 answer

Set Wallpaper in whatsapp after getting the path

I am following this answer to accomplish my task. Everything works well except the last part, if(result!=null) { Toast.makeText(getApplicationContext(), "Image saved in Gallery !", Toast.LENGTH_LONG).show(); if(isinint) //check if any app…
Vivek Warde
  • 1,936
  • 8
  • 47
  • 77
0
votes
1 answer

Android Home screen animation using widget

I am trying to create an Android app where there will be simple animations on the phone at all times. The app will be similar to "Crack Your Screen Prank" or Facebook Messenger, where it will be on top of the home screen, but animated. At first I…
0
votes
2 answers

Android Background service consuming lot of RAM. How to fix this?

I am fairly new to android coding. I have created an app that will continuously change the wallpaper of the device after certain time. Wallpapers are picked from a folder on SD card. It took me 2 months to develop this app since I have very little…
0
votes
0 answers

Set different wallpaper for portrait and landscape android

I am trying to set a wallpaper, When i view it in Portrait mode then it actually sets what i see, but when i switch to landscape mode a bit gets cropped. When i view it in landscape mode and then switch to portrait my image shifts upwards leaving a…
Maxim
  • 3,836
  • 6
  • 42
  • 64
0
votes
1 answer

setting wallpaper without cropping

I am developing wallpaper application with set as wallpaper option. I am displaying all images into grid view from Photos directory located on sdcard. when user click any of the image thumbnail it opens up into full screens view where i have…
0
votes
2 answers

App crashes when setting wallpaper

i'm trying to make an app that sets the user's wallpaper but it keeps crashing everytime I click the "Set Wallpaper" button. I'm using 640X360px images that are 100-200kb each My code is: package basics.noaml.com.basics; import…
0
votes
1 answer

How to get the position of an item from a listview?

I have a wallpaper app that contains a listview that has the images and you pick an image then set it as a wallpaper but I don't know how to tell which item was picked by the user then I have a broadcast receiver so the wallpaper won't change after…
0
votes
1 answer

Is there a way to put a running android app as the android device wallpaper?

In detail, I want to know if it's possible to take the output from a running Android app and pipe it to the to the background of the display. In other words, have the background wallpaper update itself dynamically.
yuval bar
  • 9
  • 3
0
votes
1 answer

Create Frame by Frame Animation in live wallpaper

I have an animation with 500 frame. I should create bitmap for each of them to show in live wallpaper's canvas, but it get a lot of performance, How can I do it ?