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:
<
I'd like to add to Keo Malope's answer that while IMAGE_CAPTURE and VIDEO_CAPTURE are likely to work on most devices, I have encountered cases where they don't work as expected. In this case, we have two more constants that we can try:
adb shell am start -a android.media.action.STILL_IMAGE_CAMERA
adb shell am start -a android.media.action.VIDEO_CAMERA