title: how to take screenshot programmatically and save it on gallery?
body: <p>i would to know what is the code to take a screenshot of the current screen (after a press of a button) and save it on a gallery because I don't have a device with sd cards. So i would to save in the default gallery. thank you</p>