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

  • @tutorialsEU
    @tutorialsEU3 жыл бұрын

    🚀 Android & Kotlin Masterclass - Become a serious Android app developer with our best-selling masterclass: bit.ly/3PaKdhS

  • @bobita7373
    @bobita73733 жыл бұрын

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

  • @mateuszorowski7925
    @mateuszorowski79253 жыл бұрын

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

  • @tutorialsEU

    @tutorialsEU

    3 жыл бұрын

    Thanks Mateusz :)

  • @sanjogpanda2597
    @sanjogpanda25973 жыл бұрын

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

  • @tutorialsEU

    @tutorialsEU

    3 жыл бұрын

    Thanks Sanjog :)

  • @palthdemon
    @palthdemon2 жыл бұрын

    Thank you, man ♥

  • @nathann4291
    @nathann42913 жыл бұрын

    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 :)

  • @harelabb-kb4fs
    @harelabb-kb4fs Жыл бұрын

    best tutorials, and the least Ind

  • @mahmoudkab1436
    @mahmoudkab14363 жыл бұрын

    you are my hero

  • @theophilus494
    @theophilus4942 жыл бұрын

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

  • @tomaszb9668
    @tomaszb96683 жыл бұрын

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

  • @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! :)

  • @spirobel
    @spirobel3 жыл бұрын

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

  • @aqilahzaidi
    @aqilahzaidi3 жыл бұрын

    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.

  • @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.

  • @chadarabit1398
    @chadarabit13982 жыл бұрын

    startActivityForResult is already deprecated right?

  • @luthfieta
    @luthfieta3 жыл бұрын

    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

  • @ahmedkoubaa1658
    @ahmedkoubaa16582 жыл бұрын

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

  • @leosousa7404
    @leosousa74042 жыл бұрын

    No code in the description.

  • @abhishekvishwakarma9045
    @abhishekvishwakarma90453 жыл бұрын

    Next android tutorial on firebase

  • @tutorialsEU

    @tutorialsEU

    3 жыл бұрын

    this might be the 10k special ;)

  • @dgh25
    @dgh252 жыл бұрын

    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
    @ravishankar21803 жыл бұрын

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

  • @subyk6046

    @subyk6046

    Жыл бұрын

    Camerax have code example in documentation. :)

  • @sanjogpanda2597
    @sanjogpanda25973 жыл бұрын

    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

  • @sameerbvk1976
    @sameerbvk19765 ай бұрын

    need to use android.Manifest.permission.CAMERA . Please like this comment for better reach

  • @danilotosic9296
    @danilotosic92962 жыл бұрын

    Manifest.permission doesnt exist???

  • @colindaniels1866

    @colindaniels1866

    Жыл бұрын

    use android.manifest.permission

Келесі