Questions tagged [wallpapermanager]
30 questions
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.

Ruslan Harvasyuk
- 103
- 1
- 5
5
votes
0 answers
Strange behaviour in Android 12+ with WallpaperManager
Is this a bug with WallpaperManager in the latest versions of Android?
When setting the wallpaper, it will automatically destroy and reload the current activity.
This behaviour only seems to affect Android 12 and onwards.
It's quite easy to…

Auc
- 158
- 1
- 2
- 10
5
votes
1 answer
Get an image/screenshot of live wallpaper on Android?
Is there a way to get an image of the current live wallpaper using the WallpaperManager API? I tried the following code, but it simply returned the the icon of the app that was used to set the wallpaper.
PackageManager pm =…

TMS
- 1,201
- 1
- 13
- 20
3
votes
0 answers
Changing wallpaper sometimes works and sometimes doesn't resulting in black screen
I'm trying to change the wallpaper with an alarm, it sometimes works and sometimes doesn't, it doesn't show any error or other kind of logs in the console, checked for nulls and nothing.
Tried first without picasso and once I got the error I though…

MAC
- 31
- 3
3
votes
0 answers
Get Lock screen Wallpaper android
I want to get the current wallpaper drawables of both lockScreen & homescreen but i can't figure out how to get LockScreen Wallpaper.
I have used this Code to get HomeScreen Wallpaper Drawable & its Working Fine
WallpaperManager wallpaperManager =…

Rahul Shah
- 31
- 3
2
votes
1 answer
Setting wallpaper deletes my recyler view content
I have created a simple app where I am using API to get wallpapers in the Recycler view. Now when I click on any item on the recycler view, I want to set it as a wallpaper. I am using Wallpapermanager class and Picasso to set wallpaper. Now the…

nir doshi
- 53
- 6
2
votes
0 answers
How to change device wallpaper with react native (in 2021)
I am trying to build an app which can change the wallpaper.. I tried using react-native-manage-wallpaper to do the same; but I am getting this error:
TypeError: null is not an object (evaluating…

Pro
- 445
- 4
- 14
2
votes
1 answer
Failed to capture fingerprint of output files for task ':app:transformClassesWithDexBuilderForDebug'
I am trying to create a wallpaper app using Flutter's Wallpaper package (https://pub.dartlang.org/packages/wallpaper). The thing is, when I try to run the app an error appears that says:
Failed to capture fingerprint of output files for task…

dev404
- 1,047
- 8
- 21
1
vote
1 answer
WallpaperManager does not work correctly on Android 12
When calling WallpaperManager on Android 12, onDestroy is called and then onCreate immediately. And when you call WallpaperManager.setBitmap(hbitmap), the image on the home screen and lock changes, although on all devices except Android 12 it is…

RegisteR
- 13
- 3
1
vote
1 answer
How to wallpaper on android and iOS device in flutter?
I'm creating a wallpaper app and I want to change the device wallpaper (like the Home and lock screen wallpaper). I'm showing lots of sites and videos but I didn't get answers properly. Can you please guys help me step by step process.

Abhi S
- 250
- 2
- 18
1
vote
0 answers
alertdialog take too long to dismiss
an alert dialog is taking too long to dismiss and I don't why it's happening.
when I click on any item on alert dialog my app gets freeze and responds and after a few seconds. Alert dialog does not dismiss fastly.
the URL of the images comes from…

john
- 31
- 5
0
votes
0 answers
Why does the Flutter app gets restarted upon setting a wallpaper?
I have made a wallpaper app using Flutter. I have used the below package to help user set the wallpaper as HOME, LOCK or BOTH screens. But after setting any image to wallpaper, the whole app gets restarted.
package ss
Please help/guide me.
…

ReeGeeCodes
- 1
- 3
0
votes
1 answer
How can I prevent my libGDX live wallpaper from causing black font color on the Android home screen?
I've encountered a perplexing issue. When users set my wallpaper, the font color of the app names on their home screens turns black, making it difficult to read due to the wallpaper's dark colors.
I thoroughly reviewed my libGDX code to check for…

IvnGlp
- 1
0
votes
0 answers
i have added a dependency : Wallpaper_manager: and run flutter code in terminal with command -> flutter run --no-sound-null-safety then show error
PS D:\coding\android devlopment\flutter_projects\wallpaper_app> flutter run --no-sound-null-safety
Using hardware rendering with device sdk gphone64 x86 64. If you notice graphics artifacts, consider enabling software rendering…
0
votes
1 answer
How to set Wallpaper on diffrent screens of devices like home screen , lock screen?
I am making a wallpaper app using React-Native and I have used the liuhong1happy/react-native-wallpaper-manager package in that we can set only wallpaper to the home screen so I made slightly changes in this package at the WallpaperManager.java file…

PRATIK SHARMA
- 1
- 2