Possible Duplicate:
Screenshot Android
I would like to capture screenshots programatically (not the screen shot of my view) and have created an application to take the screen shot of my view.
I am trying to capture the device screen shot (like if user opned any image file) by using Java code(I thought of creating service and from service we can take picture but I am not sure how to achieve this).
I found some native code using frame buffer fb0 but I am very knew to this and no idea how to use it.