Camera Android Studio - How to Take Pictures And Use Them in Your Project
🚀 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
🚀 Android & Kotlin Masterclass - Become a serious Android app developer with our best-selling masterclass: bit.ly/3PaKdhS
I was trying to make this work for the last 5 hours. Thank you so much!!
It's amazing how professional your videos are. Keep up the good work, Denis!
@tutorialsEU
3 жыл бұрын
Thanks Mateusz :)
Loved it bro! Keep posting videos every week! Helps us a lot
@tutorialsEU
3 жыл бұрын
Thanks Sanjog :)
Thank you, man ♥
I follow you on Udemy, your teaching style is amazing 👌
@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 :)
best tutorials, and the least Ind
you are my hero
amazing tutorial. please can you do one that there will be thumbnails of images as you capture images with camera
@tutotialsEU But it's only a thumbnail not ful size picture
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! :)
great. show how to do for movie capture pleaaase :D thanks
can I ask? what if you close from the app, is the photo still there?
Why do you use 1 & 2 for camera_permission_code and camera_request_code? Are they just chosen arbitrarily?
@TheKay1024
Жыл бұрын
Yes, they are arbitrarily chosen values that are then e.g. used in callbacks like onActivityResult to check which request has resolved.
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.
startActivityForResult is already deprecated right?
Why my iv_image on function Activity Result did not detected ? Anyone have some issues?
@luthfieta
3 жыл бұрын
Solved, thank youu sir
@Alejandro19991023
2 жыл бұрын
how you solve this
why is only one camera opened and not dual (2 cameras from behind), so that a QR code cannot be recognized, for example
No code in the description.
Next android tutorial on firebase
@tutorialsEU
3 жыл бұрын
this might be the 10k special ;)
WHO would use a THUMBNAIL after taking a pic? Why do ALL tutorials use thumbnail????????????????? HOW TO WORK WITH THE ACTUAL FILE?
@wareesha3734
Жыл бұрын
exactly what i wanna know
@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
Жыл бұрын
@@dgh25 thankuu 👍
Can you make a separate video with all camera X functionality implemented??
@subyk6046
Жыл бұрын
Camerax have code example in documentation. :)
Why is my Manifest.permission.CAMERA is showing error? It tells permission to be unresolved reference
@arbaktos
3 жыл бұрын
add android before Manifest - worked for me
@arbaktos
3 жыл бұрын
add android before Manifest - worked for me
need to use android.Manifest.permission.CAMERA . Please like this comment for better reach
Manifest.permission doesnt exist???
@colindaniels1866
Жыл бұрын
use android.manifest.permission