Camera Android Studio - How to Take Pictures And Use Them in Your Project

preview_player
Показать описание

In this video, you will learn Camera Android Studio - How to Take Pictures And Use Them in Your Project.

Do you want to learn how to take pictures in Android and use them in your code afterward? In this video you will learn all of the relevant code, and how to use it, to open an intent for the camera, and then use the image taken in your App, by displaying it in an ImageView.

Having this Android App functionality is super important. Many successful apps use this and knowing how to implement it, is a core skill as an Android developer.
So you will see how to use the camera Android Studio. Or how to use it.
This is actually quite simple, you just need to understand how to use permissions in Android and how intents work.

Permissions to use the Camera to take pictures are very important because you don't want to have a situation where an app can use the camera, without the user having given permission.

This tutorial is just a small part of the complete Android Masterclass. My course in which you learn how to become a real Android App developer.
This course is 45 hours long, and teaches you everything you need to know, to feel confident building your own Android Apps, or even for a job or contracting work.

This video is about:
Camera android studio tutorial. using camera in android studio
How to open camera using button in android studio. Taking image in android studio. Android Camera Integration to Take Photos. android studio camera intent.
You will get: capture image from camera android source code more specifically capture image from camera android kotlin source code
Рекомендации по теме
Комментарии
Автор

WHO would use a THUMBNAIL after taking a pic? Why do ALL tutorials use HOW TO WORK WITH THE ACTUAL FILE?

dgh
Автор

You take 160x120 thumbnail photo. Please take full size image from camera. There is one way which is fileprovider. It seems it has been removed on new devices.

ugurtemel
Автор

need to use .
Please like this comment for better reach

sameerbvk
Автор

@tutotialsEU But it's only a thumbnail not ful size picture

tomaszb
Автор

It's amazing how professional your videos are. Keep up the good work, Denis!

mateuszorowski
Автор

I follow you on Udemy, your teaching style is amazing 👌

nathann
Автор

Why my iv_image on function Activity Result did not detected ? Anyone have some issues?

luthfieta
Автор

I was trying to make this work for the last 5 hours. Thank you so much!!

bobita
Автор

startActivityForResult is already deprecated right?

chadarabit
Автор

Hi Denis, I bought your course on Udemy and now im doing HappyPlaceApp, but i have little problem. In course (like in this video) you use camera Intent for capture img, but camera capture only thumbnail, not full quality photo. Is some way to save full quality photo with camera Intent?
Because now i made camera layout, made fragment with cameraX, save img to cache, made fragment custom dialog with preview and then after click on saving button move photo to app folder and close fragment.
Its was lot of work, and its seems much easier, when it can be done with camera intent, but i cant figure out how store full quality photo, not just thumbnail.
Thanks for advice! :)

subyk
Автор

why is only one camera opened and not dual (2 cameras from behind), so that a QR code cannot be recognized, for example

ahmedkoubaa
Автор

amazing tutorial. please can you do one that there will be thumbnails of images as you capture images with camera

theophilus
Автор

Why is my Manifest.permission.CAMERA is showing error? It tells permission to be unresolved reference

sanjogpanda
Автор

great. show how to do for movie capture pleaaase :D thanks

spirobel
Автор

can I ask? what if you close from the app, is the photo still there?

aqilahzaidi
Автор

Why do you use 1 & 2 for camera_permission_code and camera_request_code? Are they just chosen arbitrarily?

coffeedude
Автор

Loved it bro! Keep posting videos every week! Helps us a lot

sanjogpanda
Автор

Can you make a separate video with all camera X functionality implemented??

ravishankar