I wrote an application before opening my own camera application to capture an image as follows:
Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
Or, for example, to capture video:
Intent takeVideoIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
But is there a way to open my own camera application with the ability to capture video or image? I would like to open the image below, where the user can scroll access to the side menu and change their input type.

I tried the search but no results yet. I'm not sure if there is a way to do this without writing a custom camera implementation that I would like to avoid now.
, ? , (, onActivityResult)?
!