当我单击“调试”时,应用程序将使用Intent action=MAIN;
启动
我想以VIEW
开头,并指定一个URI。
发布于 2011-08-24 09:11:13
通过浏览Adroid SDK中的Eclipse ADT源代码找到的。
在目标设备上启动shell:
$ adb shell
然后使用Android应用程序管理器:
am -a android.intent.action.VIEW -c android.intent.category.DEFAULT -t "file:///mnt/sdcard/Audio/vocal.m3u“/x-mpegurl”-d“音频
这将打开"complete action with“对话框。
键入'am‘可查看用于指定意图的所有选项
https://stackoverflow.com/questions/7062986
复制相似问题