문제

I am working on android automation and trying to set video quality by adb command. I am using follwing command:

  adb shell am start -a android.media.action.VIDEO_CAPTURE  --ei android.intent.extras.CAMERA_FACING 1 --ei android.intent.extras.EXTRA_VIDEO_QUALITY 1   -n com.android.gallery3d/com.android.camera.CameraActivity

But it does not seem to set the quality. Any ideas?

what I am doing wrong?

도움이 되었습니까?

해결책

Well there is a little correction here:

Instead of using EXTRA_VIDEO_QUALITY 1, we can do VideoQuality

so our command would be :

 adb shell am start -a android.media.action.VIDEO_CAPTURE  --ei android.intent.extras.CAMERA_FACING 1 --ei android.intent.extras.VideoQuality 1   -n com.android.gallery3d/com.android.camera.CameraActivity
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top