error in creating my own Robot class in android..
Posted
by
manju
on Stack Overflow
See other posts from Stack Overflow
or by manju
Published on 2010-12-27T05:47:52Z
Indexed on
2010/12/27
5:54 UTC
Read the original article
Hit count: 270
Hi All,
I have decided to create my own Java's Robot class in android to take screen capture..i have written the source code of the robot class by my own but the problem is here, the following line in the code is throwing compilation error..saying "The method createRobot(Robot, GraphicsDevice) in the type ComponentFactory is not applicable for the arguments (Robot, GraphicsDevice)"
peer = ((ComponentFactory)toolkit).createRobot(this, screen);
Can anyone suggest me what would be the solution....
thanks..
© Stack Overflow or respective owner