I am trying to figure out what is the command to load the camera app in different modes like following:
You can pass an Extra with an integer value using the --ei flag to the am start
command
Front Camera
adb shell am start -a android.media.action.IMAGE_CAPTURE --ei android.intent.extras.CAMERA_FACING 1
Back Camera
adb shell am start -a android.media.action.IMAGE_CAPTURE --ei android.intent.extras.CAMERA_FACING 0