Android Camera Integration to Take Photos (including Android 10, API 29)- Kotlin Tutorial

preview_player
Показать описание
Build an app which integrates camera functionality, allowing the user to take a picture and display that image in our app. We’ll be using an external camera application to capture the image rather than integrating the camera directly into our app.

Guides about integrating the camera:

Articles with additional info about concepts mentioned in the video:

Timestamps:
0:00- Intro
0:38- Two ways to integrate camera functionality in your app
2:12- How to get the image if you’re ok with a low quality image
5:14- Handling onActivityResult once the user has taken a picture with the camera
7:06- Demo of app capturing the low quality image
7:45- How to get a high quality image from the camera
10:33- Introducing the file provider to securely pass the file to the camera app
14:15- Demo of app capturing the high quality image

Рекомендации по теме
Комментарии
Автор

Timestamps if you want to jump to a particular spot in the video:
0:38- Two ways to integrate camera functionality in your app
2:12- How to get the image if you’re ok with a low quality image
5:14- Handling onActivityResult once the user has taken a picture with the camera
7:06- Demo of app capturing the low quality image
7:45- How to get a high quality image from the camera
10:33- Introducing the file provider to securely pass the file to the camera app
14:15- Demo of app capturing the high quality image

RahulPandeyrkp
Автор

Great video - clear and concise, explaining the logic behind the code is sadly rare these days... subscribed!

JordanBuser
Автор

This is what I am looking for many days ❤️ Thanks Sir 🙏

chiranjeevshubham
Автор

Thanks alot rahul. love how clear and concise this tut was. You helped me fix a crash i was experience due to filepath. Would appreciate more tuts from this channel, heck i wouldnt mind a really good paid course from you, i like your style of teaching very much

ecdnuzk
Автор

What a clear and straight to the point explanation! Thank you for this amazing video! Keep up with the good work!

stillpickinganame
Автор

Wish I could give this more likes. Exactly what I needed

hamooon
Автор

Thanks bro, your English totally match with native English speaker

akashkumardas
Автор

Jeez this is the most underrated channel I know. Great content Rahul!

imashnake_
Автор

Amazing!! I have been struggling with this for a long time. Thank you very much for this clear tutorial...

shabab
Автор

thank you for explaining the two ways cause I watch many tutorials but they have diff code and no explanation. this helps a lot.

aihoneyai
Автор

Helped a lot! I don't know kotlin, I will understand the code and write it in java

pavangonahal
Автор

Very thanks sir. But app rotates image automatically

terlanabaszade
Автор

Dear Rahul Pandey -- if we should ever met in reallife just remind me that i Owe you a beer for that extraordinary informative tutorial .. Keep It Up

notheory-norules
Автор

Awesome tutorial! Thank you, I learned a lot in a short amount of time here.

Question.. I know it would certainly take some effort and time to do, but have you ever considered doing one on CameraX and exploiting the camera for some interesting sensor data or even just making an app that incorporates the camera as part of a camera app with more features? Maybe something that has a very basic filter / frame rate setting / time lapse component?

romana
Автор

man this is very great video.
anyway so we don't need to make request permission camera again ?

bboydarknesz
Автор

Maan I used to code in C# but today tried kotlin. It is so much easier to write and understand.

hematogeng
Автор

why does my screen turn into black when I use a fragment?

joshuarandezperez
Автор

May I know why use linear layout instead of constraint layout?

jayceeddeyro
Автор

Sir background video recorder app se user Jo video record karta hai kya vo video app developer ke pass bhi store hota hai kya

harishlodha
Автор

Thank you for this tutorial it helps our project a lot :)

vincentalcid