I'm pretty new to Android programming so bear with me.
I was wondering if there was a method of retrieving the current wallpaper on an android device and saving it to a variable in your app's code.
Thanks
final WallpaperManager wallpaperManager = WallpaperManager.getInstance(this);
final Drawable wallpaperDrawable = wallpaperManager.getDrawable();
This solution is not valid for Android 13 https://issuetracker.google.com/issues/237124750?pli=1