This question already has an answer here:
I am developing an application in which there is a button on click of that button i want the screenshot of android screen not that application screen my phone is unrooted. Is it possible to take screenshot of unrooted phone.?
Yes it is possible.
have a look at Android Screenshot Library.
How to Implement?
Modifying the manifest XML
In order for Android service to be accessible, add the following declaration to your client application's XML manifest:
Binding service
To obtain the IScreenshotProvider interface one must bind to the ASL service (pl.polidea.asl.ScreenshotService) using Context.bindService - for example:
References