Giouri Kilinkaridis
Lurker
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);
}
});
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);
}
});