How to Build a Camera App With CameraX - Taking Photos

Поделиться
HTML-код
  • Опубликовано: 3 окт 2023
  • In this video you'll learn how you can integrate a camera feed directly into your app with the CameraX library. This allows you full control over the camera.
    💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:
    pl-coding.com/drop-table-ment...
    ⭐ Courses with real-life practices
    ⭐ Save countless hours of time
    ⭐ 100% money back guarantee for 30 days
    ⭐ Become a professional Android developer now:
    pl-coding.com/premium-courses...
    Get my FREE PDF about 20 things you should never do in Jetpack Compose:
    pl-coding.com/jetpack-compose...
    Follow me on Instagram for insights into my live as an Android developer:
    / _philipplackner_
    Get the source code for this video on GitHub:
    github.com/philipplackner/Cam...

Комментарии • 66

  • @AndrewDChristie
    @AndrewDChristie 8 месяцев назад +5

    Some people are not that excited about programming, love the energy you bring to these videos, makes me realize with the number of your views are plenty of others interested in this work

  • @henttz
    @henttz 8 месяцев назад +3

    I had to figure it out how to use the cameraX library by my own. Now I can check what I did wrong, thanks Phillip for this new content

  • @roshkaalex
    @roshkaalex 8 месяцев назад +1

    Cool! Thank you Philipp. I tried to find camerax video in your playlist today morning )))

  • @Otabek001uz
    @Otabek001uz 8 месяцев назад +2

    You're the best developer in the world!!!⚡

  • @simpleelegant9269
    @simpleelegant9269 8 месяцев назад +10

    Finally granted my request.. More playlist for Hardware please!! Cross platforms can't do shiits with these.

    • @AhmedAli-qm1td
      @AhmedAli-qm1td 8 месяцев назад +1

      I thought I'm the only one who think like that 😂😂
      But now I'm fine 😂

    • @ChrisAthanas
      @ChrisAthanas 8 месяцев назад +1

      KMP is closing the gap very quickly

  • @jarvis2913
    @jarvis2913 8 месяцев назад

    Best video for learning android development.

  • @fazalulabid8483
    @fazalulabid8483 8 месяцев назад +1

    Been waiting for this content. Thanks for delivering what we've all been craving!

  • @surendramaran
    @surendramaran 8 месяцев назад +1

    I waited for this video 🎉🎉

  • @HenokWehibe
    @HenokWehibe 4 месяца назад

    Great work Sir, Thanks so much.

  • @LEGENDX22
    @LEGENDX22 8 месяцев назад

    Excited for Part 3

  • @achmadichzan
    @achmadichzan 8 месяцев назад

    I'll practice your videos, thank you very much

  • @aaravbansal6193
    @aaravbansal6193 8 месяцев назад +3

    Hi philipp, I have been following you for quite a while now and genuinely love your content. I had a small request if you could make a tutorial for media3 Audio Player!! that would be a great help

  • @ojo_lali_ngaji
    @ojo_lali_ngaji 8 месяцев назад

    great content as always

  • @itzlvm1268
    @itzlvm1268 8 месяцев назад

    Amazing, finally can use text recognition

  • @Noor_alden
    @Noor_alden 8 месяцев назад

    u r amazing , thanks alot for this content🙏🙏

  • @John-qt6qk
    @John-qt6qk 8 месяцев назад

    Awesome 💪🏾

  • @JavohirJumayev-pn1vn
    @JavohirJumayev-pn1vn 7 месяцев назад

    Thank you so much

  • @mubaraknative
    @mubaraknative 8 месяцев назад +1

    What a crazy yesterday i throught our friend Phillip does not upload any Video about cameraX camera 2 libaray and it is also very popular library for integrating Camera Really i am Impressed!! ♥ and Waiting new other Hardware sensor Video's We are from your back to full support

  • @aaronperron
    @aaronperron 25 дней назад

    can you make a tut about setting up camerax with the new camera-viewfinder-compose ? thanks! you rock

  • @devanshraj5619
    @devanshraj5619 8 месяцев назад

    Hi, can you make a document scanner app... main use of camera is for that.

  • @XblueNitroxNT
    @XblueNitroxNT 8 месяцев назад

    Hi, could you make a video about creating and publishing libraries in compose Multiplatform ?
    Btw thx for all videos

  • @SahilTheExplorer
    @SahilTheExplorer 8 месяцев назад +1

    Hey Philip, i think there’s something wrong while you’re initialising camerax because i am getting camerainfo as null if i do the same initialisation.

  • @astaghfirullahalzimastaghf3648
    @astaghfirullahalzimastaghf3648 8 месяцев назад

    man, I want to ask you one question, what is buildScript block in the gradle build file that you use in the project root directory. why buildScript block is used in the project root build file but not in the "app" folder or "app" module ? Does this mean gradlew need to use extra buildscript or what ?

  • @omarredani5580
    @omarredani5580 8 месяцев назад

    We need a complete project is going to be perfect

  • @user-me1ry6lg6d
    @user-me1ry6lg6d 8 месяцев назад +1

    hey Philip ? first , thanks for this sir . what if someone wants to focus on a section of an image just like in Google lens , how is that possible ?

  • @user-iw1zm2ln3r
    @user-iw1zm2ln3r 5 месяцев назад

    Hello, I added it to my project as you did, but when I gave the NavController, java.lang.IllegalStateException: The offset was read before being initialized. Did you access the offset in a phase before layout, like effects or composition?
    I am encountering the error

  • @anmac6910
    @anmac6910 5 месяцев назад

    Hey how do I set a greater precision for date timestamp when taking a photo so that the fileame such as : YYYYMMDD_hhmmss.jpg and the date taken and date modified seconds are very close to being the exact same? in other words, the date taken and date modified is assigned at the exact instant the photo is saved to file ?

  • @Hatsworthful
    @Hatsworthful 7 месяцев назад

    Is there a way to use this to take the photos and add them to a digital form to generate a pdf?

  • @frankyjunior6005
    @frankyjunior6005 8 месяцев назад

    How to make the icon sticky in the right when landscape? So it like other camera app

  • @chrispoet3885
    @chrispoet3885 Месяц назад

    7 issues were found when checking AAR metadata:
    1. Dependency 'androidx.camera:camera-extensions:1.3.0-rc01' requires libraries and applications that
    depend on it to compile against version 34 or later of the
    Android APIs.

  • @muhammadsarimmehdi
    @muhammadsarimmehdi 8 месяцев назад

    Can you make a bluetooth LE tutorial?

  • @Daaboo
    @Daaboo 8 дней назад

    But i want to use the camera app on the phone but no package work. I tried both Vue with Iconic, React native and its wont work at all. This is my last chance to ever be able to finish my app.... but if you have any other suggestions im open ....?

  • @felipesousa7816
    @felipesousa7816 4 месяца назад

    Make a camerax tutorial for a thermal camera, I want to integrate this into my project

  • @roshkaalex
    @roshkaalex 8 месяцев назад

    How to set photo size? and jpeg quality?

  • @ahadul360
    @ahadul360 8 месяцев назад

    Make a video on Qr Scanner App using latest tech..

  • @VrhoAirlines
    @VrhoAirlines 6 месяцев назад

    Do you have any idea how to access usb camera on android in an app

  • @seethalakshmi4670
    @seethalakshmi4670 8 месяцев назад

    How can I switch between lenses here? I have observed that CameraX doesn't automatically switches the lenses in Samsung devices.

  • @divid3d806
    @divid3d806 8 месяцев назад

    Imo you shouldn't hold bitmaps directly in ViewModel. Bitmaps should be saved somewhere and uris should be used to access them to optimize memory usage.

  • @JeffreyLiu8
    @JeffreyLiu8 8 месяцев назад

    can you please open class for openGL es?

  • @Window2015
    @Window2015 8 месяцев назад +2

    Hy Philipp why not do some basic game development in kotlin like snake game tic tac toe game etc with javafx or tornadofx

  • @neirno
    @neirno 8 месяцев назад

    Please create video guide with AR

  • @MrDhruba13
    @MrDhruba13 8 месяцев назад

    You are the best teacher for android, Thanks a lot. Do you have any courses paid/free on android testing

    • @PhilippLackner
      @PhilippLackner  8 месяцев назад

      Yes, released just a month ago :)
      pl-coding.com/testing

  • @omkarsatam003
    @omkarsatam003 8 месяцев назад

    Can you please also guide on how to handle to take picture only when it's a human?

  • @RaghulS-nl6wx
    @RaghulS-nl6wx 8 месяцев назад +2

    I get error on creating bottomsheet scaffold did anyone

    • @abdulrahamanolatunde6548
      @abdulrahamanolatunde6548 7 месяцев назад

      Same here. Fixed it yet??

    • @nameayeIIowfruit
      @nameayeIIowfruit 6 месяцев назад

      Change
      implementation("androidx.compose.material3:material3")
      to
      implementation("androidx.compose.material3:material3:1.1.2")
      in the build.gradle.kts to get the latest Version of material3

  • @farhodakramov8158
    @farhodakramov8158 7 месяцев назад

    Something wrong here.Camera take picture only 4 times.How can do more?

  • @RajuYadav-qm4ic
    @RajuYadav-qm4ic 8 месяцев назад

    😊

  • @thanakornsrisuwan2498
    @thanakornsrisuwan2498 8 месяцев назад +1

    rememberBottomSheetScaffoldState not found help me please :(

    • @thanakornsrisuwan2498
      @thanakornsrisuwan2498 8 месяцев назад

      I can solve the problem, update latest version of material 3

    • @abdulrahamanolatunde6548
      @abdulrahamanolatunde6548 7 месяцев назад

      @@thanakornsrisuwan2498 I'm facing same issue. What version did you use to solve yours?
      This is what I have
      implementation("androidx.compose.material3:material3")

  • @FabricioMTL
    @FabricioMTL 7 месяцев назад

    A real photo simple app will be cool

  • @awaisahmad5908
    @awaisahmad5908 3 месяца назад +1

    you have used kotlin damn
    where is java functional APIs.

  • @jesseholliday3480
    @jesseholliday3480 Месяц назад

    1:40 dependencies