F Fillmore Member Licensed User Longtime User Jun 16, 2017 #1 Hi, I tried to integrate qr code reader in a project. It doesn't work... When I click on "Scanner les Balises" Qrcode reader is not working and the appli crash down when I click on "Stop Scan"... If someone have an idea... Thanks a lot. Fred Attachments compass-GPS-qrcode reader.zip compass-GPS-qrcode reader.zip 381.9 KB · Views: 423
Hi, I tried to integrate qr code reader in a project. It doesn't work... When I click on "Scanner les Balises" Qrcode reader is not working and the appli crash down when I click on "Stop Scan"... If someone have an idea... Thanks a lot. Fred
Johan Schoeman Expert Licensed User Longtime User Jun 16, 2017 #2 I have tested QRCodeReaderView on 3 devices - KitKat, Lollipop, and Marshmallow. It is working on all 3 OS versions. The problem you are having seems to be related to your B4A code. Can you run QRCodeReaderView on its own and is it then working? Upvote 0
I have tested QRCodeReaderView on 3 devices - KitKat, Lollipop, and Marshmallow. It is working on all 3 OS versions. The problem you are having seems to be related to your B4A code. Can you run QRCodeReaderView on its own and is it then working?
F Fillmore Member Licensed User Longtime User Jun 16, 2017 #3 Yes, your project works well. Mine is crashing. Certainly due to my code, but I don't no where... Thanks for your answer ! Fred Upvote 0
Yes, your project works well. Mine is crashing. Certainly due to my code, but I don't no where... Thanks for your answer ! Fred
F Fillmore Member Licensed User Longtime User Jun 19, 2017 #4 Johan, Can it be a problem with the manifest ? Thanks Fred Upvote 0
Johan Schoeman Expert Licensed User Longtime User Jun 19, 2017 #5 Fillmore said: Johan, Can it be a problem with the manifest ? Thanks Fred Click to expand... Fred, I think you should maybe use the scanner project as the base to start working from and build your app around it and then test every step that you are adding to make sure the scanner is still starting. Your project is quite cumbersome to work through to try and find where it goes wrong. When I have some time I will look into it but time is unfortunately limited at present. From memory I don't think there should be any funnies in the B4A manifest unless you have added some additional entries....have not looked at your manifest. Rgds Johan Upvote 0
Fillmore said: Johan, Can it be a problem with the manifest ? Thanks Fred Click to expand... Fred, I think you should maybe use the scanner project as the base to start working from and build your app around it and then test every step that you are adding to make sure the scanner is still starting. Your project is quite cumbersome to work through to try and find where it goes wrong. When I have some time I will look into it but time is unfortunately limited at present. From memory I don't think there should be any funnies in the B4A manifest unless you have added some additional entries....have not looked at your manifest. Rgds Johan
F Fillmore Member Licensed User Longtime User Jun 20, 2017 #6 Hi Johan, Thanks for your advice. Will try it. Seems there is a problem with this line : <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="23"/> Version 17 for your project I will redo from start around your project. Thanks again. Fred Upvote 0
Hi Johan, Thanks for your advice. Will try it. Seems there is a problem with this line : <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="23"/> Version 17 for your project I will redo from start around your project. Thanks again. Fred
F Fillmore Member Licensed User Longtime User Jun 23, 2017 #7 Hi Johan, It works now ! Tx a lot. Fred Upvote 0