How to create a video recorder with CameraX in Android Studio Java tutorial

preview_player
Показать описание
In this step-by-step tutorial, you will learn how to build a video recorder android app using Android's CameraX library with Java. CameraX is a modern API introduced by Google, which simplifies camera development on Android devices, providing consistent behavior across various devices and versions of Android.

First we will setting up the project and integrating CameraX library into your Android application. Then we will add UI elements such as buttons and overlays. Then we will handle permissions to access the camera, audio and storage. Then we will configuring the camera preview using the Preview use case, allowing users to see what the camera captures in real-time. Then we will Implement the VideoCapture use case to capture high-quality videos with ease.

By the end of this video, you will learn how to create a fully functional video recorder app using Android's CameraX library.

Join membership to get access to perks & Complete Source Codes:

Thank you for watching!
Don't forget to like, share, and subscribe for more exciting tutorials on Android app development, Java programming, and other related topics. Happy coding :)
Рекомендации по теме
Комментарии
Автор

Very informative video at all - I've facing many issue regarding camera-X, by this video these issue clear and successfully executed Thanks & keep it up !

osamaghafoor
Автор

Love you. Dont Stop, one day you will be big.

systemuser
Автор

thanks for sharing the source code. i used your source code to run successfully for my app. now i am trying to write camera sleep function to take 1 photo in 1 hour to save battery. it would be great if you have some suggestions for me on how to write that function

chinhdang
Автор

Very organized and well understandable ☺️. Anyway I have a question. Can you teach me how to display a text view or image on the screen whiles recording a video. Thanks you

addike_online
Автор

very good, but I think something wrong with music playing louder than your voice halfway thru the video..

restools
Автор

Thank you for the video. How could I disable the autofocus of the camera while recording videos ?

maximepillet
Автор

Is their any way to save the recorded videos in a list instead of saving it in mobile device

meenakshibariyekar
Автор

Thank you for this very good example of how to use CameraX to record video. This is the best and easiest one to follow. But I cannot get it to work because keep getting the error message "Error: java.io.IOException: Unable to create MediaStore entry." I have searched and tried a number of suggestions I found online but still get this error. Using both a real android phone or simulator. Is there a version dependency? What would you suggest to fix this?

alangordon
Автор

Can you tell me how can I add external USB camera support in this code?

harshittathagat
Автор

great video but i am getting 3gp formate of video. is there a way i can change that to mp4

oanmuhammad
Автор

Unfortunately I could barely hear you over the music. How could I set up a video recording using a CameraController?

amandasjoberg
Автор

Hello champion, hope you're doing great. Any updates from the request yet. I look forward to your kind support. Thank you

addike_online
Автор

please how add timestamp in recording video

kx
Автор

hi, Is there a way to record video in the background even when I exit the application or navigate on the home screen?

mülayim-db
Автор

in front camera facing mirror problem after recoding

pradeepbhadana-ermy
Автор

Am I the only person who thought the music was too loud? There were explanations that were pointless.

kujmous
visit shbcf.ru