Android ScreenShot
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2661536/how-to-programatically-take-a-screenshot-on-android">How to programatically take a screenshot on Android?</a>  </p>
</blockquote>



<p>I am writing an android code to take screenshots and then join it together and convert the images into a video thus I want to take the screenshot of every screen in android, also of those not contained in my application. For example, the main screen or the menu screen. Whatever I do, I need a screenshot of that, not just the layout of a particular screen. How can I do it?</p>

<p>Presently I have coded an application which just takes screenshots of the layout I specify,which is my application's layout. Please help.....It's urgent as I need to submit the project ASAP.</p>
