QR & Barcode Scanner App Tutorial in Android Studio

  Рет қаралды 134,150

Indently

Indently

Күн бұрын

Пікірлер: 223
@halo2550000
@halo2550000 3 жыл бұрын
Just awesome, you saved an entire student project with this tutorial. 1 billion thanks!
@adelsehimi2888
@adelsehimi2888 3 жыл бұрын
i need u bro
@3dgiftz
@3dgiftz 2 жыл бұрын
Does this scanner needs internet
@AwesomeDevNotes
@AwesomeDevNotes 4 жыл бұрын
Love it. Short and no BS tutorial as it should be 🐣
@thaliaamargianou7870
@thaliaamargianou7870 3 жыл бұрын
Congrats..! Very good job! Thanks... Your Vtutorials are great with a very simple explanation! Keep up the good work!!! We support you!
@Indently
@Indently 3 жыл бұрын
Very happy to hear, thanks for the support!
@3dgiftz
@3dgiftz 2 жыл бұрын
Do this scanner needs internet??
@grampygamer8584
@grampygamer8584 3 жыл бұрын
I did it the Java way for a larf... worked first time! Awesome tutorial, thank you
@jaysonverzon172
@jaysonverzon172 3 жыл бұрын
can show code?
@mattileazarelenquiblat
@mattileazarelenquiblat 3 жыл бұрын
Can you show the code?
@vijithviswambharan775
@vijithviswambharan775 3 жыл бұрын
share the code plz
@programmer1111x
@programmer1111x 2 жыл бұрын
The "Remeber to subscribe" barcode is so creative to do
@farhan-momin
@farhan-momin 9 ай бұрын
Simple and to the point tutorial! everything was step and step and easy to understand even though i made my app in java, following this tutorial along with help of chatgpt made it super easy thanks very much!
@Hrit
@Hrit 2 жыл бұрын
Simple and Direct! Loved the tutorial.
@androidstudio1564
@androidstudio1564 3 жыл бұрын
Very helpful to fellow developers.
@razvanandrei1694
@razvanandrei1694 3 жыл бұрын
Thanks for the tutorial. Very useful. But what if I want to display the dialog with camera permissions only first time when the app is installed? The next time Camera should already be allowed
@refugiocamarenasainz
@refugiocamarenasainz 4 жыл бұрын
I tried to make the app, but had an error Unresolved reference: scanner_view Any sugestion ?
@littlenosydragon1754
@littlenosydragon1754 4 жыл бұрын
class MainActivity : AppCompatActivity() { ... private lateinit var scanner_view: CodeScannerView private lateinit var tv_textview: TextView ... override fun onCreate(savedInstanceState: Bundle?) { ... tv_textview = findViewById(R.id.tv_textview) scanner_view = findViewById(R.id.scanner_view) ...
@rhenestayo5591
@rhenestayo5591 4 жыл бұрын
i have the same proble with you sir
@diegosilva1683
@diegosilva1683 4 жыл бұрын
you have to add xmlns:app="schemas.android.com/apk/res-auto" on top
@edwin2162
@edwin2162 4 жыл бұрын
@@littlenosydragon1754 thanks bro
@musicalcoder7699
@musicalcoder7699 3 жыл бұрын
@@littlenosydragon1754 Thank you - none of the other fixes listed were working for me!
@davidepasero7032
@davidepasero7032 2 жыл бұрын
Congratulations for this excellent video. Exactly what I needed! Bravo Bravo
@deanbonsu3401
@deanbonsu3401 4 жыл бұрын
Hey sei il migliore. I really enjoy your videos and you should do more kotlin tutorials. I just learned java and watching your videos kotlin makes so much more sense. Is there anyway to brighten the codescanner view? I have noticed that the camera preview is darker than my normal camera preview. You just gained a fan !!
@Indently
@Indently 4 жыл бұрын
Mi rende molto felice sentire che i miei video ti hanno aiutato a capire meglio come funzionano le cose :) Penso che puoi modificarlo nello XML file che lo contiene. Ma non sono troppo sicuro.
@jasferducusin8672
@jasferducusin8672 3 жыл бұрын
Very straightforward! Thank you so much
@parchez11
@parchez11 2 жыл бұрын
Oh my God, thanks thanks thanks!!!!!!!! U give me solution that i seek for 3 days. THANKS!
@スヘア
@スヘア 4 жыл бұрын
Such a great tutorial. Thank you so much
@jeromelabsan1428
@jeromelabsan1428 Жыл бұрын
can I use this in the latest android studio? it seems the code you are typing gets red in mine
@txrav8517
@txrav8517 3 жыл бұрын
i have question how to make the scanner automatically go to the link that benn scanned in the app without showing url in the textview
@deanwalker3956
@deanwalker3956 3 жыл бұрын
First, thank you for teaching this. This is really much appreciated. But I have a question. The scanner continuously scans barcodes. Example, I scan barcode A, and while the scanner is pointed at the code, it still keeps scanning. So, the scanner pointing at the barcode for 3 seconds results in dozens and dozens of scanning of the same barcode.. How can I make it so that after scanning a barcode once, the scanner stops? EDIT: I figured it out. What I did was this: Create two variables. newCode and prevCode. Scan the code. Assign the new code to newCode. if (newCode != prevCode), proceed. prevCode = newCode else, do something.
@saidfeki908
@saidfeki908 3 жыл бұрын
Hi dean can you upload a pic of your code and share it with us. Thank you
@bryonic7611
@bryonic7611 2 жыл бұрын
if anyone has a problem with scanner_view not being recognized you can solve this pretty easily by inserting { id 'kotlin-android-extensions' } in the plugins section of the app build.gradle and then import on the mainactivity file { import kotlinx.android.synthetic.main.activity_main.* } Hope this helps someone
@cr3amyn3ll66
@cr3amyn3ll66 2 жыл бұрын
It did, thank you very much!
@arma3053
@arma3053 2 жыл бұрын
im trying to import the { import kotlinx.android.synthetic.main.activity_main.* } in to mainactivity, yet i can't get it to work. I get an error and the scanner is still not poping up in the activity_main file.
@jamesbrianvillar8210
@jamesbrianvillar8210 2 жыл бұрын
@@arma3053 same
@Loulilta
@Loulilta Жыл бұрын
I try it but it doesn't work ?
@Loulilta
@Loulilta Жыл бұрын
​@@arma3053 did you find a solution ?
@harshbhanushali9944
@harshbhanushali9944 3 жыл бұрын
i got error intv_tevtview and scanner_view what to do plzz tell
@abhishekpurohit8867
@abhishekpurohit8867 3 жыл бұрын
Thanks a lot for this video. It's very helpful
@TypicallyThomas
@TypicallyThomas 2 жыл бұрын
This won't work for me. It keeps telling me I have unresolved references when referencing the ID's in the XML file
@gmiampec
@gmiampec 2 жыл бұрын
I am facing the same problem? Have you got the answer?
@TypicallyThomas
@TypicallyThomas 2 жыл бұрын
@@gmiampec nope
@movimientoenelespacio
@movimientoenelespacio 3 жыл бұрын
Amazing ! Now how can I get product informations from this scanned barcode. I saw few database API for this. But how to implement them ?
@movimientoenelespacio
@movimientoenelespacio 3 жыл бұрын
Good Tutorial ! But I've got an issue : Unresolved reference: scanner_view. Can you help me out? Thank you
@movimientoenelespacio
@movimientoenelespacio 3 жыл бұрын
My apologies it was my mistake. Awesome tutorial !
@dxxxlan
@dxxxlan 3 жыл бұрын
I have the same problem, what did you fix?
@sqrpro5318
@sqrpro5318 3 жыл бұрын
how did you fix it please help
@timminator555
@timminator555 3 жыл бұрын
@@movimientoenelespacio How did you fix it?
@johnwilkesbooth8000
@johnwilkesbooth8000 3 жыл бұрын
@@timminator555 have you find the error ?
@Yxnder
@Yxnder 2 жыл бұрын
Welp, seems like Kotlin android extension was disabled later in 2020 and referencing activity xml elements to kt files is no longer possible :( Anyone have a way around this?
@syedsuhaibzia1558
@syedsuhaibzia1558 4 жыл бұрын
I got an error at 5:17 it says scanner_view is unresolved reference what should i do please
@syedsuhaibzia1558
@syedsuhaibzia1558 3 жыл бұрын
@Rafif Rabbani yup thank you that was the error. i solved it
@MrSlaaron50
@MrSlaaron50 3 жыл бұрын
totaly new to android studio, your tutorial works perfectly! Can we send this variable throught bluetooth to populate any text box in windows like a keyboard insert? simply ?
@dailyseedpodcast
@dailyseedpodcast 3 жыл бұрын
Love the the content, but can you help me out When I add the Code Scan View to Frame Layout it doesn't recognize it even after adding dependency. Thank you
@ghost_wasabi
@ghost_wasabi 9 ай бұрын
Thanks for the tutorial. However, the flash functionality doesn't seem to work on mine... can you help?
@fernandogarciabarrera8699
@fernandogarciabarrera8699 3 жыл бұрын
Good video Does the flashlight work?
@Indently
@Indently 3 жыл бұрын
If your phone has a flash light, it will work.
@FabianFlorezColombia
@FabianFlorezColombia 4 жыл бұрын
How can I... Scan code QR and Load this Code Qr (URL) into WebView... or External Explorer... ??? Can U helpme??
@farhan-momin
@farhan-momin 9 ай бұрын
hi in 2024 im adding this same feature to the app for my project!
@eduardlipnitskiy6595
@eduardlipnitskiy6595 3 жыл бұрын
Thank You! It works well and fast. But only when my camera far from QR. Is it possible to adjust the distance?
@ZtowhyA
@ZtowhyA 3 жыл бұрын
wrong orientation for me. how do we resolved this?
@Noway213-h3i
@Noway213-h3i 2 жыл бұрын
hey dude how can i fix the unsolved reference scannerview and tv_textview?
@gmiampec
@gmiampec 2 жыл бұрын
Have you got the answer? I am facing the same problem
@HeikoGenti96
@HeikoGenti96 2 жыл бұрын
same. do u fix?
@apoorvjain72
@apoorvjain72 4 жыл бұрын
i tried making your code scanner in a fragment, can you help me find out why i am unable to scan in the fragment and also a way to make it working in a fragment
@yavuzaksahin9621
@yavuzaksahin9621 3 жыл бұрын
me to
@coderschannel4270
@coderschannel4270 4 жыл бұрын
for me no errors but when i try running the apps no information appears on the screen. why?
@flon7400
@flon7400 4 жыл бұрын
thanks you for the tuto ! Why my cam is not working ? Instead of turn on my cam it takes the environment of the simulation ...
@nurulaulia4579
@nurulaulia4579 Ай бұрын
can this be stored in the database??
@waltoncharles8972
@waltoncharles8972 3 жыл бұрын
Is he doing it in Kotlin or Java? sorry I am new to this and am learning and don't want to follow the instructions incorrectly
@dxxxlan
@dxxxlan 3 жыл бұрын
He's using Kotlin
@waltoncharles8972
@waltoncharles8972 3 жыл бұрын
@@dxxxlan ty mate
4 жыл бұрын
Thanks bro, you're the best!
@Jberv
@Jberv 3 жыл бұрын
I tried this library, just found it on github but one thing i noticed, it is slow to scan, sometimes it takes 2 to 3 mins, unlike integration from other libraries, anyways nice video!
@Loulilta
@Loulilta Жыл бұрын
Can i ask you i have problem whan i add the scanner view
@sirhades356
@sirhades356 2 жыл бұрын
Can I use this on transferring activities when a QR code is scanned?
@daytonatecfarheen2333
@daytonatecfarheen2333 3 жыл бұрын
Hi can u plz help. I keep seeing a black screen when I go back and start the app again. I'm failing to understand what's wrong. This usually happens with higher android version. Thanks!
@Indently
@Indently 3 жыл бұрын
Read your error messages in the console
@dare6437
@dare6437 4 жыл бұрын
How i relate activity_main.xml and MainActovity.kt files?
@nicolewhittaker9013
@nicolewhittaker9013 3 жыл бұрын
how did you do it can you share with me , thank you
@Indently
@Indently 3 жыл бұрын
Hello! I explain everything in the video. Have a nice day!
@ddlam2
@ddlam2 2 жыл бұрын
I am working on the Android 10 API 29 project but there is no Activity_main.xml. Any idea would be appreciated.
@3dgiftz
@3dgiftz 2 жыл бұрын
Whther this scanner needs internet??
@theuniversetraveller
@theuniversetraveller 2 жыл бұрын
In the latest version of Android Studio textview.text = it.text comes back as an error, only expressions are allowed. I've tried copying the Kt code from Github DIrectly, but it uses Toast and .show actions that are not recognized as well. Total Newbie here. Any suggestions?
@Loulilta
@Loulilta Жыл бұрын
It doesn't work with me in xml the scanner view any help ?
@BTAndroid
@BTAndroid 2 жыл бұрын
Hey you.. Why my Android 8.1.0 Imin device, can't scan. please help me
@rhenestayo5591
@rhenestayo5591 4 жыл бұрын
Can you please help me with this error MainActivity.xml = Unresolved reference: scanner_viewer. I already declare scanner_viewer on activity_main.xml. But it doesnt appear . Thanks in advance.
@ponapple
@ponapple 4 жыл бұрын
Add this to build.gradle under plugins id ‘kotlin-android-extensions’
@guyus5469
@guyus5469 3 жыл бұрын
@@ponapple thanks mate!
@bobyschnackler6914
@bobyschnackler6914 3 жыл бұрын
@@ponapple thank you kind sir
@timminator555
@timminator555 3 жыл бұрын
@@ponapple It doesn'nt work. It also says Unsolved reference: tv_textView. And Variable expected in this line: tv_textView.text = it.text.
@airilsra
@airilsra 3 жыл бұрын
@@timminator555 it works for me, though.
@ryanvalcorza3363
@ryanvalcorza3363 3 жыл бұрын
AAPT: error: not well-formed (invalid token).
@charliecliforddevilla7836
@charliecliforddevilla7836 3 жыл бұрын
Why does my id "scanner_view" need to add local variable or parameter even though I declare it in the activity main
@sqrpro5318
@sqrpro5318 3 жыл бұрын
did you solve the issue? please help me im stuck
@yyzuus
@yyzuus 3 жыл бұрын
If you're solved plz help me out.
@mattileazarelenquiblat
@mattileazarelenquiblat 3 жыл бұрын
What Language did you use?
@minhajisminhaj
@minhajisminhaj 3 жыл бұрын
English 😐
@jamesbrianvillar8210
@jamesbrianvillar8210 2 жыл бұрын
The Code scanner in activy_main I can't find it
@KhressieVlog
@KhressieVlog 4 жыл бұрын
nice video, can you help me fix this problem "Camera initialization error: failed to connect to camera service using android studio kotin language" that's the error when opening the camer of my virtual device
@kartikmalhotra3551
@kartikmalhotra3551 4 жыл бұрын
I am getting the same error, have you resolved it?
@inaayat4193
@inaayat4193 4 жыл бұрын
@@kartikmalhotra3551 me too, how can I?
@kartikmalhotra3551
@kartikmalhotra3551 4 жыл бұрын
@@inaayat4193 github code is incomplete watch the video and code, then it will work👍
@inaayat4193
@inaayat4193 4 жыл бұрын
@@kartikmalhotra3551 i succeeded, camera permissions should be enabled in settings
@ryanvalcorza3363
@ryanvalcorza3363 3 жыл бұрын
please help me on my error AAPT: error: not well-formed (invalid token).
@Indently
@Indently 3 жыл бұрын
invalid token
@phisitxayphommachan4166
@phisitxayphommachan4166 3 жыл бұрын
how to setupPermissions function in java please help
@boswaki4
@boswaki4 4 жыл бұрын
working good tutorial
@wiz8370
@wiz8370 3 жыл бұрын
At 5:18 codeScanner = CodeScanner(context:this, scanner_view) I don't get scanner_view It shows it as an error This is my first ever android project, I could really use some help
@wiz8370
@wiz8370 3 жыл бұрын
SOLUTION: In build.gradle(.app) Add another pluggin id 'kotlin-android-extentions' This should fix the issue
@charliecliforddevilla7836
@charliecliforddevilla7836 3 жыл бұрын
@@wiz8370 doens't fix the issue, idk why. I already checked the id on design, still red same with tv_textView
@sqrpro5318
@sqrpro5318 3 жыл бұрын
@@charliecliforddevilla7836 did you fix it? if yes i want to know how
@khanhsb15
@khanhsb15 Жыл бұрын
Thanks a lot !
@helakajayakody2853
@helakajayakody2853 4 жыл бұрын
Hello, can you teach us how to scan only specific type of qr codes like whats app do
@thiviyakannathazan
@thiviyakannathazan 3 жыл бұрын
sir, how to save the details?
@Indently
@Indently 3 жыл бұрын
Use local storage or cloud database
@thiviyakannathazan
@thiviyakannathazan 3 жыл бұрын
@@Indently if using firebase how to implement in the code sir. Pls help me
@Indently
@Indently 3 жыл бұрын
Create unique user id and insert data
@thiviyakannathazan
@thiviyakannathazan 3 жыл бұрын
@@Indently sir u have any related video? So its easy for me to refer
@gouravdadhich1332
@gouravdadhich1332 3 жыл бұрын
osm brother thankyou so much
@williamtapeyim1226
@williamtapeyim1226 2 жыл бұрын
Hello, I'm kinda new to mobile development...and I have a concern that I'd like someone to explain to me please. My concern is this: I sometimes use applications capable of solving mathematical equations by simply filming on a notebook or a support (I am not interested in the mathematical part 😅) I would just like to know how and with which instruction (C#, .net ...I don't really know) we retrieve the equation written on the notebook through the camera... And I would also like to know if it's possible to create an application that communicates with offline software (like bluetooth...) thank you!
@ashishgautam2842
@ashishgautam2842 4 жыл бұрын
great work
@jingquankueh564
@jingquankueh564 3 жыл бұрын
What if I want to go to a new Activity after scanning a barcode (passing the value along with it) ? Help is appreciated.
@Indently
@Indently 3 жыл бұрын
It is the same process as sending a value to any new activity
@StefanSoyka
@StefanSoyka 3 жыл бұрын
Oddly, I had to add kotlin-android-extensions before I was able to import or reference any view from the code. Oddly, because during it tells me to remove it and use the kotlin-parcelize plugin (Studio 4.2.1)
@giannhsroussas5324
@giannhsroussas5324 3 жыл бұрын
If i scan a barcode an item has then will it show me its price??
@Indently
@Indently 3 жыл бұрын
If you program it to do so.
@jaysonverzon172
@jaysonverzon172 3 жыл бұрын
do u have for java version?
@Indently
@Indently 3 жыл бұрын
yes
@jaysonverzon172
@jaysonverzon172 3 жыл бұрын
@@Indently can I get a copy?
@grampygamer8584
@grampygamer8584 3 жыл бұрын
Trying the Kotlin route in Android Studio I get Unresolved reference:int any ideas?
@grampygamer8584
@grampygamer8584 3 жыл бұрын
Resolved
@wiz8370
@wiz8370 3 жыл бұрын
I have the same error What's the solution for this?
@trevorPhillips284
@trevorPhillips284 3 жыл бұрын
how can someone create dependency like that? I mean how all this works in the background?
@Indently
@Indently 3 жыл бұрын
Hi Shobhit, unfortunately I can't answer that. You would have to do a bit of research on Google for that.
@akagrawal85
@akagrawal85 3 жыл бұрын
flash light not working...why?
@robinb.905
@robinb.905 3 жыл бұрын
Doesn't work anymore. I've got A LOT of errors, compilation fails, references to the textView and scannerView are missing... Android Studio is really a PAIN IN THE A** and the WORST IDE ever made
@ApryMadonaSihaloho
@ApryMadonaSihaloho 3 жыл бұрын
How i can get custom barcode?
@Indently
@Indently 3 жыл бұрын
Type it in your search engine
@arma3053
@arma3053 2 жыл бұрын
hi thanks for the video, i could use some help. The code scanner line is not poping up nomater waht i do( this is literally my first time using Android Studio). Can anyone help me?
@54M1WUL
@54M1WUL 3 жыл бұрын
duz it wrk with barcodes in supermarkets?
@Indently
@Indently 3 жыл бұрын
maybe, but maybe not
@54M1WUL
@54M1WUL 3 жыл бұрын
@@Indently why not?
@Indently
@Indently 3 жыл бұрын
@@54M1WUL No reason, or maybe there are many
@54M1WUL
@54M1WUL 3 жыл бұрын
@@Indently i wanted to make an app wher it can scan the barcodes of supernarket items, to see if the user has the correct budget
@Indently
@Indently 3 жыл бұрын
@@54M1WUL have you tried scanning a barcode?
@loisejaymhoralfarero7792
@loisejaymhoralfarero7792 3 жыл бұрын
i cant view the QR code scanner PLSS help me
@mustafaammar551
@mustafaammar551 3 жыл бұрын
Thank you bro
@Indently
@Indently 3 жыл бұрын
np bro
@andrefbillette2774
@andrefbillette2774 3 жыл бұрын
Great video
@JayaramGS
@JayaramGS 3 жыл бұрын
How to clear the bug... java.lang.RuntimeException: Failed to connect the camera service
@Indently
@Indently 3 жыл бұрын
With lots of love and research on Google
@JayaramGS
@JayaramGS 3 жыл бұрын
Bug fixed..❤️
@ChrisChanSajelan
@ChrisChanSajelan 3 жыл бұрын
How did you fixed it?
@ghaithmuhammed279
@ghaithmuhammed279 4 жыл бұрын
Is there code for scaning values like number
@Indently
@Indently 4 жыл бұрын
probably
@ghaithmuhammed279
@ghaithmuhammed279 4 жыл бұрын
Thank you And recylerview image with text firebase
@EasyTrickSG
@EasyTrickSG 4 жыл бұрын
this scanner can browse web link///??
@Indently
@Indently 4 жыл бұрын
sure
@lzzpigeonclockingsystem7991
@lzzpigeonclockingsystem7991 4 жыл бұрын
Java?
@Indently
@Indently 4 жыл бұрын
Java is a class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. It is a general-purpose programming language intended to let application developers write once, run anywhere (WORA),[17] meaning that compiled Java code can run on all platforms that support Java without the need for recompilation.
@lzzpigeonclockingsystem7991
@lzzpigeonclockingsystem7991 4 жыл бұрын
yeh i mean. i need tutorial for java. thanks.
@Indently
@Indently 4 жыл бұрын
W3school is a great place to learn Java: www.w3schools.com/java/
@lzzpigeonclockingsystem7991
@lzzpigeonclockingsystem7991 4 жыл бұрын
tutorial on java, how to implement this code scanner?
@Indently
@Indently 4 жыл бұрын
​@@lzzpigeonclockingsystem7991 Ah, you should have said so earlier! Just learn Kotlin.
@N00004
@N00004 3 жыл бұрын
Great job
@inzealinfotech9830
@inzealinfotech9830 3 жыл бұрын
flash light not working
@LabGecko
@LabGecko Жыл бұрын
Shame it uses a 3rd party code scanner instead of something like Google's. Yes, it looks like it works, but what else is that library importing or doing in the background? I don't have time to research it. As for the video, great job on the tutorial.
@farhan-momin
@farhan-momin 9 ай бұрын
its opensource
@adolphweissman5973
@adolphweissman5973 3 жыл бұрын
is there a java for this one? if there is, can someone help me? im not familiar with kotlin yet
@leandrosistemavs1043
@leandrosistemavs1043 4 жыл бұрын
excelent!!
@anesboubaker3088
@anesboubaker3088 2 жыл бұрын
THANK YOU BRO
@GSS-n4u
@GSS-n4u 2 жыл бұрын
java tutorial?
@Indently
@Indently 2 жыл бұрын
No, I recommend learning Kotlin
@farhan-momin
@farhan-momin 9 ай бұрын
hi in 2024 im making this project in java with help of chatgpt to trancode kotlin in this tutorial to java
@sohamahmoud1324
@sohamahmoud1324 4 жыл бұрын
this code make the app scan any qr code how can i make the app scan uniqe qr code ?!
@Indently
@Indently 4 жыл бұрын
Make the content of the QR code a secret code, and add an if/when statement that uses that code to display whatever you want to display
@johnwilkesbooth8000
@johnwilkesbooth8000 3 жыл бұрын
Why can't we make payment ?
@Indently
@Indently 3 жыл бұрын
Payment to who?
@giovannidenti4607
@giovannidenti4607 3 жыл бұрын
Salve, bel video. Peccato che dia gli errori che molti utenti ti hanno chiesto di spioegare. Ma non so perche non hai risposto neppure a un' utente. Questo errore lo da anche a me "Unresolved reference: scanner_view :21) . Ho ricontrollato piu volte l' id e ho anche provato a cambiarlo sia nell activity_main che nel MainActivity, ma non cambia niente. L' errore rimane. Sarebbe bello sentire come si puo risolvere. Grazie e ancora complimenti
@Indently
@Indently 3 жыл бұрын
Ciao Giovanni! Scusa che non posso rispondere a tutte le domande... questo e' solo un hobby e devo lavorare per fare la mia vita qua a Copenaghen. Riguardando tuo errore, devi ricercare Kotlin Synthetics Deprecation su Google, perché adesso non possiamo più solo scrivere il "reference" senza Kotlin Synthetics, che e' stato deprecated. Grazie e buona giornata!
@giovannidenti4607
@giovannidenti4607 3 жыл бұрын
@@Indently Ciao e grazie per avermi risposto. Io ho provato piu volte a implementare il tuo codice ma non riesco a risolvere l' errore di cui ti ho parlato. Visto che tu hai implementato il codice potresti dirmi come risolverlo quando hai 2 minuti di tempo? Grazie ancora 👍💪
@giovannidenti4607
@giovannidenti4607 3 жыл бұрын
@@Indently Scusa non avevo letto tutto il tuo messaggio. Grazie del suggerimento e buona giornata 😀
@mihaelisaev
@mihaelisaev 3 жыл бұрын
So android developers can't scan QR/barcodes easily in two lines of code without any libs? Can't find any tutorial which doesn't use some shitty libraries.
@Indently
@Indently 3 жыл бұрын
I hope you understand the complexity involved into breaking down images into to bytes, and converting them into some sort of format that our phone can understand. This library saves us a lot of time.
@mihaelisaev
@mihaelisaev 3 жыл бұрын
@@Indently yup, I'm just from the swift world where everything is 100x times easier.
@mihaelisaev
@mihaelisaev 3 жыл бұрын
@@Indently ok, I implemented it with CameraX+ZXing and JetPack Compose.
@hk-four-sixteen
@hk-four-sixteen Жыл бұрын
The best tutorial that deserve more likes. +1 subscribe for a Very useful tutorial 😍
@ahmetaykilic8119
@ahmetaykilic8119 3 жыл бұрын
Thanks a lot, it worked. This application uses the phone's back camera. But I have to use a selfie (front) camera. Is it possible? How can I do? Please, Help me...
@ahmetaykilic8119
@ahmetaykilic8119 3 жыл бұрын
OK, I solved :) I added this code; integrator.addExtra("SCAN_MODE", "QR_CODE_MODE"); integrator.addExtra("SCAN_CAMERA_ID", 1); // front (selfie) camera integrator.addExtra("SCAN_CAMERA_ID", 0); // back camera
@rexang980
@rexang980 3 жыл бұрын
@@ahmetaykilic8119 Where did you add the code?
@DamayitaDas
@DamayitaDas 2 жыл бұрын
Спасибо, только твой код помог 🙂 Но фонарик всё равно не работает
@marcielribeiro4949
@marcielribeiro4949 3 жыл бұрын
camera black
@KhressieVlog
@KhressieVlog 4 жыл бұрын
please notice my comment Code Palace
I Made an Android App in MINUTES with This AI Tool
10:21
Creator Magic
Рет қаралды 231 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
DEVIN AI: Real-World Tests-Does It Live Up to the Hype?
14:13
Prompt Engineering
Рет қаралды 1,1 М.
Turn 2 Eggs Into Fluffy Japanese Soufflé Pancakes!
5:26
CookingAtHome
Рет қаралды 1,9 МЛН
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Рет қаралды 872 М.
How to Make an Android App for Beginners
19:18
Treehouse
Рет қаралды 6 МЛН
Android App Development Tutorial for Beginners - Your First App
55:20
freeCodeCamp.org
Рет қаралды 443 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН