Reputation: 477
In my App I need to fire a touch event programmatically at a specific position on the device screen. How can I do this in CodeName One Framework?
Upvotes: 2
Views: 59
Reputation: 52770
Invoke:
Form f = Display.getInstance().getCurrent();
f.pointerPressed(x, y);
f.pointerReleased(x, y);
Upvotes: 1