How to play one audio file in android using adb command?
2 answers
There are two other command line programs that can run through the adb shell or even remotely using an ssh connection. Also no music player app installed is required.
adb shell stagefright -a -o file.mp3
and
adb shell tinyplay file.wav
(drop adb shell
if no connection is used adb
)
Please note that tinyplay
can only play stereo sound files. I learned about the command stagefright
from a3nm blog: Android from the command line .
+2
source to share