How to take screenshot with processing on Android

edited March 2016 in Android Mode

I was able to save an image(loaded into processing from it's default "data" folder in computer) to a custom folder in SD card and load it back from there(from where I saved it in the phone). Here's the code(don't smear about it, it's just test code)

What I want to do is, save a screen shot and load it back .

Now I know how to save an image from my computer to a specific folder in Phone and load it back to processing app. But I don't know how to take a screen shot of a certain area or the whole screen in processing Android and save it to a particular folder in the SDcard of the phone.

Can anyone help me here? I took help from this post previously.

Sign In or Register to comment.