title: Take ScreenShot of a current Screen using a background service in android
body: <p>I need to write a service that will take screenshots of the current screen at specific intervals.After studying I found that there are two ways to do so :</p>
  
  <ol>
  <li>By rooting the device and access system level privileges to read framebuffer and convert it into a bitmap</li>
  </ol>
  
  <p>2.Use ASL library to take screenshots</p>
  
  <p>Since I don't want to root the device,I decided to go with ASL but whenever I run the demo code,I get native service not found.Please suggest me the steps to implement ASL and make the code to work.</p>