I have a application where I have some downloaded images in a folder in SD Card. I want to save it as a wallpaper.
using the below code user can set it as wallpaper.
WallpaperManager myWallpaperManager = WallpaperManager.getInstance(context);
myWallpaperManager.setBitmap(loadedImage);
However this does not bring up any UI for user to select a part of the image like crop operation when selecting a image from Gallery app to set wallpaper. I would like my code to trigger such a operation. When users click a button in my app I want to take them to gallery app with crop option to set the wallpaper.
Please let me know how to do this. Thank you.