I want to capture a Desktop image through Coding most probably in Java?? How to achieved it ??
Asked
Active
Viewed 646 times
0
-
Windows os,I m having windows Vista....!!!! – Bhagya Feb 06 '11 at 05:31
-
Since he's talking about android, possible duplicate http://stackoverflow.com/questions/3067586/how-to-capture-the-android-device-screen-content – Zach L Feb 06 '11 at 05:46
-
nope it was abt capturing the Android Content,I dont want this !!!! – Bhagya Feb 06 '11 at 05:56
1 Answers
3
See the java.awt.Robot
class.
Once you have a reference to the BufferedImage
object, you can use the ImageIO
class to write to a file.

Paul Blessing
- 3,815
- 2
- 24
- 25
-
Ok,How to capture desktop image On Android Emulator ?? Because Android does not support AWT classes – Bhagya Feb 06 '11 at 05:30