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

  Рет қаралды 31,243

tutorialsEU

tutorialsEU

Күн бұрын

🚀 Android & Kotlin Masterclass - Become a serious Android app developer with our best-selling masterclass: bit.ly/3PaKdhS
In this video, you will learn Camera Android Studio - How to Take Pictures And Use Them in Your Project.
Stay tuned and subscribe to tutorialsEU: goo.gl/rBFh3x
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.
You can find the Complete Android Masterclass for 90% off: bit.ly/3l7RzkQ
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

Пікірлер: 39
@tutorialsEU
@tutorialsEU 3 жыл бұрын
🚀 Android & Kotlin Masterclass - Become a serious Android app developer with our best-selling masterclass: bit.ly/3PaKdhS
@mateuszorowski7925
@mateuszorowski7925 3 жыл бұрын
It's amazing how professional your videos are. Keep up the good work, Denis!
@tutorialsEU
@tutorialsEU 3 жыл бұрын
Thanks Mateusz :)
@bobita7373
@bobita7373 3 жыл бұрын
I was trying to make this work for the last 5 hours. Thank you so much!!
@sanjogpanda2597
@sanjogpanda2597 3 жыл бұрын
Loved it bro! Keep posting videos every week! Helps us a lot
@tutorialsEU
@tutorialsEU 3 жыл бұрын
Thanks Sanjog :)
@theophilus494
@theophilus494 2 жыл бұрын
amazing tutorial. please can you do one that there will be thumbnails of images as you capture images with camera
@nathann4291
@nathann4291 3 жыл бұрын
I follow you on Udemy, your teaching style is amazing 👌
@tutorialsEU
@tutorialsEU 3 жыл бұрын
I'm happy to have you as a student Nathan and wish you the best on your journey to becoming an android dev :)
@palthdemon
@palthdemon 2 жыл бұрын
Thank you, man ♥
@subyk6046
@subyk6046 Жыл бұрын
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! :)
@tomaszb9668
@tomaszb9668 3 жыл бұрын
@tutotialsEU But it's only a thumbnail not ful size picture
@ugurtemel5921
@ugurtemel5921 Жыл бұрын
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.
@spirobel
@spirobel 3 жыл бұрын
great. show how to do for movie capture pleaaase :D thanks
@harelabb-kb4fs
@harelabb-kb4fs Жыл бұрын
best tutorials, and the least Ind
@mahmoudkab1436
@mahmoudkab1436 3 жыл бұрын
you are my hero
@aqilahzaidi
@aqilahzaidi 3 жыл бұрын
can I ask? what if you close from the app, is the photo still there?
@coffeedude
@coffeedude Жыл бұрын
Why do you use 1 & 2 for camera_permission_code and camera_request_code? Are they just chosen arbitrarily?
@TheKay1024
@TheKay1024 Жыл бұрын
Yes, they are arbitrarily chosen values that are then e.g. used in callbacks like onActivityResult to check which request has resolved.
@chadarabit1398
@chadarabit1398 2 жыл бұрын
startActivityForResult is already deprecated right?
@ahmedkoubaa1658
@ahmedkoubaa1658 2 жыл бұрын
why is only one camera opened and not dual (2 cameras from behind), so that a QR code cannot be recognized, for example
@luthfieta
@luthfieta 3 жыл бұрын
Why my iv_image on function Activity Result did not detected ? Anyone have some issues?
@luthfieta
@luthfieta 3 жыл бұрын
Solved, thank youu sir
@Alejandro19991023
@Alejandro19991023 2 жыл бұрын
how you solve this
@leosousa7404
@leosousa7404 2 жыл бұрын
No code in the description.
@dgh25
@dgh25 2 жыл бұрын
WHO would use a THUMBNAIL after taking a pic? Why do ALL tutorials use thumbnail????????????????? HOW TO WORK WITH THE ACTUAL FILE?
@wareesha3734
@wareesha3734 Жыл бұрын
exactly what i wanna know
@dgh25
@dgh25 Жыл бұрын
@@wareesha3734 You need to use the built-in function createTempFile(), something like this: File storageDir = getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES); File imageFile = File.createTempFile(imageName,".jpg",storageDir); currentImagePath = imageFile.getAbsolutePath(); (in the camera click event). Hope it helps.
@wareesha3734
@wareesha3734 Жыл бұрын
@@dgh25 thankuu 👍
@ravishankar2180
@ravishankar2180 3 жыл бұрын
Can you make a separate video with all camera X functionality implemented??
@subyk6046
@subyk6046 Жыл бұрын
Camerax have code example in documentation. :)
@sanjogpanda2597
@sanjogpanda2597 3 жыл бұрын
Why is my Manifest.permission.CAMERA is showing error? It tells permission to be unresolved reference
@arbaktos
@arbaktos 3 жыл бұрын
add android before Manifest - worked for me
@arbaktos
@arbaktos 3 жыл бұрын
add android before Manifest - worked for me
@abhishekvishwakarma9045
@abhishekvishwakarma9045 3 жыл бұрын
Next android tutorial on firebase
@tutorialsEU
@tutorialsEU 3 жыл бұрын
this might be the 10k special ;)
@sameerbvk1976
@sameerbvk1976 4 ай бұрын
need to use android.Manifest.permission.CAMERA . Please like this comment for better reach
@danilotosic9296
@danilotosic9296 2 жыл бұрын
Manifest.permission doesnt exist???
@colindaniels1866
@colindaniels1866 Жыл бұрын
use android.manifest.permission
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 7 МЛН
마시멜로우로 체감되는 요즘 물가
00:20
진영민yeongmin
Рет қаралды 30 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 59 МЛН
How to Build a Camera App With CameraX - Taking Photos
29:35
Philipp Lackner
Рет қаралды 36 М.
How to Build a Camera App in Android Studio | Simple Camera App (2022)
7:59
Everything about storage on Android
12:17
Android Developers
Рет қаралды 18 М.
Is LEARNING WPF still WORTH it in 2023?
10:59
tutorialsEU
Рет қаралды 42 М.
What's new in Android Studio Flamingo
12:34
Android Developers
Рет қаралды 48 М.
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 7 МЛН