How can I run Android camera application from adb shell?

前端 未结 5 1638
孤城傲影
孤城傲影 2020-12-23 22:41

How can I run android camera program from adb shell?
I know that I should use am but I do not know what command should I exactly enter

I used this:

<         


        
5条回答
  •  有刺的猬
    2020-12-23 23:23

    You need to specify exact component name (name of activity).

    am start -a android.intent.action.MAIN -n com.android.camera/.CameraEntry

    It is working on my device (HTC Desire HD), but I can't guarantee that it'll work everywhere.

提交回复
热议问题