I develop an application, which allows user to choose wallpaper from gallery and set it as a device wallpaper. I want to make a preview for each picture in gallery as it is a real wallpaper. The preview is a screenshot of a homescreen with all widgets and icons and selected picture as a device wallpaper.
I think about two variants:
1) Change current wallpaper to a picture, which user looks. Then make a screenshot of a homescreen with this wallpaper and all widgets and icons. Then show this screenshot to user and put real wallpaper back.
2) Get all widgets and icons position, draw it on a picture, which user looks.
I don’t know how to implement any of this variants. If you have any idea, pleace help me.
make one similar to a real desktop (fake desktop) with your own data (not user icons or widgets), at least you can show him an desktop to compare