To send input to an Android Device, for example to write some text into a text-box, use the
input-command on the device. This works via ADB Shell:
adb shell input text [text-to-write]
input-command can also send other sorts of input, like keyboard or touch events. For more information, just run the command without any parameters.