我怎样才能通过ADB commnad发挥的MP3文件,谷歌在Android奇巧4.4.4发挥MUSC?奇巧、文件、commnad、ADB

2023-09-06 22:46:32 作者:恍若隔世-

我只是试图启动的老方法来与亚行的命令发挥.MP3文件。

I just have tried the old method of start to play a .mp3 file with adb command.

adb shell am start -n com.google.android.music/com.android.music.MediaPlaybackActivity -d /sdcard/Music/abc.mp3

但目前这是行不通的。难道任何一个帮助,以检查是否有任何更新的方式来做到这一点?

But currently it does not work. Could any one help to check if there are any updated ways to do so?

推荐答案

问题来拆分使用命令,例如:亚行外壳上午开始-a android.intent.action.VIEW -d文件:// /storage/sdcard0/test.wav -t音频/ WAV

Issue resovled by using command such as:adb shell am start -a android.intent.action.VIEW -d file:///storage/sdcard0/test.wav -t audio/wav