I\'m trying to take a screenshot of my Android application using Robotium, I\'m using the below function that I found here.
public static String SCREEN_SHOTS
For taking screen shot at any point of the application Just write this piece of code
solo.takeScreenshot();
But don't forget to give permission in your main Application.