How to dump the screen programmatically?
<p>Is there way to dump the current screen to a bitmap in Android?</p>

<p>And what about dump screen of other applications? For example, running a service background, the foreground app could send an intent to start the service, and capture the current screen and save as a bitmap.</p>
