How to capture a screenshot of other Android applications from an app without root?
<p>I want to capture a screen shot of Android applications that are running on my phone.</p>

<p>I tried using the <a href="https://play.google.com/store/apps/details?id=com.liveov.shotux&amp;feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5saXZlb3Yuc2hvdHV4Il0." rel="nofollow">ScreenShot UX</a> application. This can be done on an unrooted phone also. 
Any idea of how to get the screen shot of the application in Android from a service that runs in the background? </p>

<p>I want my Service to capture screen periodically and send to a server. </p>
