DroidDucky is a duckyscript interpreter written in Bash which brings all of ducky scripting goodness to Android.
In order to use DroidDucky you have to have some kind of Android terminal emulator application. Lots of them can be found on the Play Store (both free and paid). I’m currently using JuiceSSH, and I can recommend it. Also, you'll have to have a custom kernel with android-keyboard-gadget support.
Syntax is quite simple. Just run droidducky.sh with payload file name as the first argument. Make sure that droidducky.sh has execution permission.
bash droidducky.sh payload.dd
You can try the payload code below.
REM Loading payload code.
GUI r
STRING cmd
REM Opening command prompt.
ENTER
DELAY 100
REM Sending the message.
STRING Hello World! I'm in guys.
Executing DuckSlurp payload using DroidDucky.
More information about this project, including implementation details can be found in the following blog post: DroidDucky - Can an Android quack like a duck?.