I am developing an android application on eclipse. I want to take screenshot of Emulator programmatically, as a jpg file to convert it to pdf when user clicks a button.
How can I take, and how can I access this saved file.
Thanks
I’ve tried this answer, but I’ve “ACCUWX cannot be resolved to a variable” problem on this line:
String mPath = Environment.getExternalStorageDirectory().toString() + "/" + ACCUWX.IMAGE_APPEND;
If you to take snapshot programmatically (not using the Devices view), have a look at this answer.