How to start an application using android ADB tools?

后端 未结 11 1301
醉酒成梦
醉酒成梦 2020-11-22 07:23

How do I send an intent using Android\'s ADB tools?

11条回答
  •  天命终不由人
    2020-11-22 07:45

    We can as well start an application by knowing application type and feeding it with data:

    adb shell am start -d "file:///sdcard/sample.3gp" -t "video/3gp" -a android.intent.action.VIEW
    

    This command displays available Video Players to play sample.3gp file

提交回复
热议问题