• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

How to get camera intent record automatically video when launched ?

Hello everybody,
I can't find anywhere information on how to get camera intent record automatically video when launched.
This is what I use to get the intent but still user has to press the record button. Is it even possible to automate something like this using camera intent or I have to build my own version of camera app.

findViewById(R.id.btn).setOnClickListener(new View.OnClickListener() {
@override
public void onClick(View v) {
Intent recordVideo = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
startActivity(recordVideo);
}
});
 
Back
Top Bottom