Take Photos Using the Camera with Jetpack Compose
HTML-код
- Опубликовано: 4 окт 2024
- This video will cover how to use CameraX to take a photo in a Jetpack Compose project and display the image using Coil.
Article:
www.kiloloco.c...
Project:
github.com/Kil...
Kilo Loco on Social Media:
www.kiloloco.com
Discord - / discord
Twitter - / kilo_loco
#kotlin #jetpackcompose #androiddev
Sooo much good info here! Thank you for making this easy! I was able to drop this right into my project! :)
Thanks super helpful! Great way to break this complex topic down and make it easy to understand.
Great tutorial. Thank you! I went through it from cover to cover. Everything works great with the latest versions of the libraries at the moment except one thing: "Unresolved reference: shutdown" for the line "cameraExecutor.shutdown()". Any ideas how I can solve this?
You could use the accompanist permission package for requesting permissions in compose
Thanks a lot ! Clear and clean !
Great tutorial! Thank you!
Beautiful
legend
🔥🔥🔥
i like your channel and your presentation style. can you do a video on TextEditingController in flutter? also a vid on keys and global keys in flutter? thnx
great tutorial! question, how do you enable/disable torch? thanks
Hello bro. Could you make a similar video on how to record video in a jetpack compose?
@Kilo Loco is there any posibilities to add blur to camera preview?
great video thanks. If I want a button to switch between front/back cameras I can change CameraSelector in onClick on a button but how does that work with the LaunchedEffect? Thanks...
it seems to work by changing lensFacing to: var lensFacing by remember {mutableStateOf(CameraSelector.LENS_FACING_BACK) } but not sure if this is acceptable as a beginner
A quick warning. If it looks like the above code is not working then it likely that you are running an Android 12 emulator. At the time of this comment, there is a bug where Android 12 emulators do not trigger the takePicture function.
Please do more of this advanced stuff with jetpack compose. Everyone does only Ui with jetpack compose, swift ui and flutter. Very few does actual business logic stuff
Each of those frameworks are UI frameworks. Can you give me a more concrete example of what you would like to see? I actually don't enjoy building UI stuff anyways.
@@Kilo_Loco yes these are ui frameworks. I would like to see other os functionalities integreation with these ui framework like file picker, saving file, health kit, google maps, how to use uikit with swiftui, how to use android view with constraint layout with jetpack compose etc