error in creating my own Robot class in android..
- by manju
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..