i want app capture video using rear camera , , not allow filters or other controls other start recording , stop recording .
i using intent capture video in android , specify recording details such :
intent.putextra(mediastore.extra_video_quality, 1); and
intent.putextra("android.intent.extra.durationlimit", 15); i trying disable video controls using same technique.
is there way pass constants using android.hardware.camera.camerainfo via intent disable front camera ?
for example if below syntax wrong , correct syntax ?
//disables front camera, user cannot switch front camera intent.putextra(camera.camera_facing_front,0); //alows camera intent.putextra(camera.camera_facing_back,1); from api: http://developer.android.com/reference/android/hardware/camera.camerainfo.html
and possible disable video filters using android.hardware.camera.parameters via intent ?
for example if below syntax wrong , correct syntax ?
//disable sepia filter, user cannot choose intent.putextra(effect_sepia,0); from api: http://developer.android.com/reference/android/hardware/camera.parameters.html
in ios video controls can removed via :
self.picker.showscameracontrols = no; i looking similar in android .
if not possible in android , there way disable front camera ? , when user switch front , screen becomes blank ?
note: using hardware.camera not hardware.camera2.
Comments
Post a Comment