title: Android 'set As Wallpaper' functionality
body: <p>I am developing an application in which I have an image gallery and when I click on any image, it opens in full mode. But I want the <code>set As Wallpaper</code> functionality like android default gallery:</p>
  
  <p><img src="https://i.stack.imgur.com/2nA2k.png" alt="enter image description here"></p>
  
  <p>I know it can be done by custom code (setting wallpaper and cropping image). But I want to pass that image to android default wallpaper setter so that android will manage the cropping and setting wallpaper task. How can I do that? How can I pass that image to android default walpaper setter?</p>