How to start an application using android ADB tools?

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

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

11条回答
  •  迷失自我
    2020-11-22 07:59

    Try this, for opening an android photo app & with specific image file to open as parameter.

    adb shell am start -n com.google.android.apps.photos/.home.HomeActivity -d file:///mnt/user/0/primary/Pictures/Screenshots/Screenshot.png

    It will work on latest android, no pop up will come to select an application to open as you are giving specific app to which you want to open your image with

提交回复
热议问题