You can use theshellcommand to issue commands, with or without entering the adb remote shell on the emulator/device. To issue a single command without entering a remote shell, use theshellcommand like this: adb