I am working on an app which checks device time and set a wallpaper based on the time of the device. To state the challenge :
It's 11'o clock and a wallpaper X is set by my app running in the background. At that very instance, user was playing a game and did not notice the change. Now, it's 11:15 and wallpaper changes again to Y. User did not saw X and this is what I want to record for analytics. I want to know if a user has actually seen a wallpaper.
I used WallpaperManager to set the wallpaper (With Correct Permissions) and AsyncTask to download the image and set it.
Making this app to work on devices with API level 19 or above. Any ideas?