How to take screenshot of your phone in android through code?
Hey all… This is a very simple thing to do in android. Just copy this code to see this. here is the main java file And this is the layout file main.xml
Hey all… This is a very simple thing to do in android. Just copy this code to see this. here is the main java file And this is the layout file main.xml
The first part is explained in this Tutorial, that is taking the screenshot of the application (View). The second part is storing it in the SDCARD. This is possible by compressing the image bitmap to bytes and then store. Finally dont forgot to put the following permission in the manifest file.
Hi, How to take screenshot of your application in ANDROID Using Eclipse? It’s really simple … Go to your DDMS perspective On the left side in devices click the screen capture button.