Qrcode & Barcode Scanner App Using Jetpack Compose || Clean Architecture || Google Code Scan Api

  Рет қаралды 6,287

Akash Kamati

Akash Kamati

Күн бұрын

In this tutorial we will be building barcode scanner app using google code scanner , jetpack compose and will be following clean architecture guideline.
The cool thing about google code scanner is we don't need camera permission and we don't need to add camera to perform scanning.
docs link : developers.goo...
source code: github.com/aka...
#cleanarchitecture #android #cleanarchitectureandroid #jetpackcompose #barcodescanner #kotlin #androiddevelopment #cleanarchitectureinandroid #cleanarchitectureandroid #cleanarchitecturecompose
#kotlincompose #jetpackcomposetutorial #kotlinandroid #dependencyinjection #daggerhilt #kotlincoroutines #kotlinflow

Пікірлер: 23
@filipmanevski9872
@filipmanevski9872 Жыл бұрын
Great video man. Thanks a million!!
@akashkamati
@akashkamati Жыл бұрын
Glad it helped!!
@x86xFX
@x86xFX Жыл бұрын
Thank you . It works fine. What a cool library!
@akashkamati
@akashkamati Жыл бұрын
Indeed it's a great library
@ezzoubeirelasraoui667
@ezzoubeirelasraoui667 Жыл бұрын
Thank you so much bro, can you share with resources to learn more about ViewModelComponent in dagger hilt and other components
@akashkamati
@akashkamati Жыл бұрын
You can refer to this docs developer.android.com/training/dependency-injection/hilt-android#generated-components Apart from the official docs this video from philipp is also great kzbin.info/www/bejne/ameYe3WsaMxpjqs
@invader63
@invader63 Жыл бұрын
kada yarr. Keep on growing
@akashkamati
@akashkamati Жыл бұрын
Thanks yarr
@sangyanbhagi8804
@sangyanbhagi8804 6 ай бұрын
How to open URL on browser after scanning?
@akashkamati
@akashkamati 6 ай бұрын
you can use Intent to do that. Simply add a check if it's url then create a intent which will redirect to the device's browser.
@vahit·keskin
@vahit·keskin 8 ай бұрын
Opps! Not working :(
@dhruvagarwal7854
@dhruvagarwal7854 Жыл бұрын
I am getting issues when I am scanning a QR code, but it works with a plain text Barcode. Is this library not meant for QR codes?
@akashkamati
@akashkamati Жыл бұрын
this library is great for any types of barcodes or qr codes. you can refer to official docs as well developers.google.com/ml-kit/vision/barcode-scanning/code-scanner
@raashnakrishn7204
@raashnakrishn7204 Жыл бұрын
the app is not opening its showing error msg
@akashkamati
@akashkamati Жыл бұрын
can you explain it a bit
@stonedcodingtom9097
@stonedcodingtom9097 Жыл бұрын
Can i edit design in some way?
@akashkamati
@akashkamati Жыл бұрын
you cannot edit the design. If you want to have your own design then you'll need to implement using ML KIT Barcode scanning LINK: developers.google.com/ml-kit/vision/barcode-scanning
@stonedcodingtom9097
@stonedcodingtom9097 Жыл бұрын
@@akashkamati thx, it works
@christianzakhour4402
@christianzakhour4402 Жыл бұрын
Thank you for the video but the code is not working even by using your code directly from GitHub. How is it supposed to work if there are no permissions to use the camera? I have good Internet and have waited for a lot of time but it is not working.
@akashkamati
@akashkamati Жыл бұрын
this library handles everything for us so this is the better approach to implement qrcode/barcode scanning in app. we don't need camera permission or setup camera preview for scanning code if we use this library. Let me know what exact error you got. also you can refer to this official docs for learning more about this libarary developers.google.com/ml-kit/vision/barcode-scanning/code-scanner
@kurtunm
@kurtunm Жыл бұрын
Hi, when I try to use on real device (Samsung Galaxy Note 10 Lite) it thorw error below; Chimera config error: com.google.android.chimera.config.InvalidConfigException: No registered Chimera impl for com.google.android.gms.mlkit.barcode.ui.BarcodeScanningActivityProxy How can I fix this. I can't find anything on google.
@akashkamati
@akashkamati Жыл бұрын
try updating library version. I created this video when it was in beta.
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 28 МЛН
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 8 МЛН
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
ViewModels & Configuration Changes - Android Basics 2023
18:46
Philipp Lackner
Рет қаралды 122 М.
Building a Mobile App in 2024: The BEST Technologies
13:31
Dan Ilies
Рет қаралды 53 М.
How Fast Can I Fill My Inbox?
13:30
Dev Detour
Рет қаралды 325 М.
Can you scan a barcode into a Google Sheet?
4:22
The Mobile Sales Engineer
Рет қаралды 330 М.
NSURLProtocol: How I Stole an App For My Wedding
56:25
Bryce Bostwick
Рет қаралды 41 М.
Should You Use Compose State or StateFlow in Your ViewModels?
13:59
Philipp Lackner
Рет қаралды 78 М.
THIS Compose-State Mistake Leads to Problems In Your Code
7:58
Philipp Lackner
Рет қаралды 43 М.
QR & Barcode Scanner App Tutorial in Android Studio
13:07
Indently
Рет қаралды 133 М.
#3 ML-Kit's Vision API on Android - Barcode Scanning
14:32
Simplified Coding
Рет қаралды 10 М.