title: How to crop an image getting from android resource folder(@mipmap)?
body: <p>I have an image view pager which will select an image.But i want to crop this image with zoomIn and ZoomOut function in image.How I can do this?</p>
  
  <pre><code>mImageCaptureUri=Uri.parse("android.resource://app.islamic.unikacomp.myapplication/" +sliderImagesId[num]);
  // Retrieve a WallpaperManager
  WallpaperManager myWallpaperManager = WallpaperManager.getInstance(Animalwallpaper.this);         
  try {
  // Change the current system wallpaper
  myWallpaperManager.setResource(sliderImagesId[num]);
  // Show a toast message on successful change
  Toast.makeText(Animalwallpaper.this,"Wallpaper successfully changed", Toast.LENGTH_SHORT).show();
  
  } catch (IOException e) {
  // TODO Auto-generated catch block
  }
  </code></pre>