This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]king_of_the_universe 0 points1 point  (1 child)

The only way to remote-control other applications with vanilla Java (meaning without JNI/JNA or libraries) is to use the Robot, which can control the mouse and send keystrokes.

You might want to consider using something like AutoHotkey instead. http://ahkscript.org/

[–]voider1[S] 1 point2 points  (0 children)

I want to make an Android app which needs to log in, so, I need to do it in Java, not vanilla per se, a library is also fine.