same problem FIX: add this code to the build.gradle after buildTypes compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 }
If you look into Logcat (Error), see if the error was about: "No static method metafactory(Ljava/lang/invoke/MethodHandles$Lookup..." If it was the case what helped me was to force using java 8 in your build.gradle file in the "android" section compileOptions { targetCompatibility = "8" sourceCompatibility = "8" }
Good video man. But I want to ask you if you may do a video with an app to call. I wanna say, an app that i press a button and this button calls (show dialer)
Hello friend, thank you for your great contribution, but I have a question if I would like to use that library for versions of minSdkVersion 19 onwards, how could I do it?
simply you need to send the scanned results to the server that uses mysql through a liberary like retrofit and the server will be the part that is responsible for saving the data to mysql or whatever database it uses
why not, its running android same as your phone with full functionality. Problem is camera, it doesnt have real camera, unless you use your phone connected to pc which acts as emulator then no prob.
Great video , how to open the camera in a specific place on the Activity instead of full screen
hi, great tutorial...yet I've an issue with the camera, once I fire the button the app close. will you help me with that.
Great work though
My app closes suddenly as I click on scan button (I tested in my phone)
could u tell me how did u solve the problem i have the same problem
same problem
FIX:
add this code to the build.gradle after buildTypes
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
Just a wild guess: I think that maybe, unlike he said in the video, you need to do something about the app asking for permission to use the camera.
If you look into Logcat (Error), see if the error was about: "No static method metafactory(Ljava/lang/invoke/MethodHandles$Lookup..."
If it was the case what helped me was to force using java 8 in your build.gradle file in the "android" section
compileOptions {
targetCompatibility = "8"
sourceCompatibility = "8"
}
Good video man.
But I want to ask you if you may do a video with an app to call.
I wanna say, an app that i press a button and this button calls (show dialer)
sir plz make a video on how to scan QR code from gallery
Hello friend, thank you for your great contribution, but I have a question if I would like to use that library for versions of minSdkVersion 19 onwards, how could I do it?
hi, may I know how to save the scanned results into mysql?
I'd like to know that as well, did you find out how it works?
simply you need to send the scanned results to the server that uses mysql through a liberary like retrofit and the server will be the part that is responsible for saving the data to mysql or whatever database it uses
how about url? is it open in web browser?
Cool Thanks 👍🏻
thank you very much
wow so easy! Awesome
awesome
nice
👌✔
hi is it possible to detect the code with emulator?
i think not
why not, its running android same as your phone with full functionality. Problem is camera, it doesnt have real camera, unless you use your phone connected to pc which acts as emulator then no prob.