Barcode Scanner Widget issue
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 52
- Joined: Sat Sep 08, 2012 10:50 am
Barcode Scanner Widget issue
Hi everybody,
I would like to share with you a problem that I am experiencing with the barcode scanner widget that I would like to use in my mobile app for android.
I already commented with my problems in the QA Center but I don't know if that is the proper way to solve my problem so I post it also here. I am sorry if the admins detects this as a crossposting: in this case you can delete my message.
The problem is simple to describe: adding the barcode widget to my app it's not showed. The stack of my app is attached to this post.
Adding the widget on a brand new stack it works properly...
Can someone help me to understand what's wrong in my stack? What does make the widget not working?
Thank you in advance to who will find the time to help me to solve the problem.
I would like to share with you a problem that I am experiencing with the barcode scanner widget that I would like to use in my mobile app for android.
I already commented with my problems in the QA Center but I don't know if that is the proper way to solve my problem so I post it also here. I am sorry if the admins detects this as a crossposting: in this case you can delete my message.
The problem is simple to describe: adding the barcode widget to my app it's not showed. The stack of my app is attached to this post.
Adding the widget on a brand new stack it works properly...
Can someone help me to understand what's wrong in my stack? What does make the widget not working?
Thank you in advance to who will find the time to help me to solve the problem.
- Attachments
-
- scanner_not_showed_3.zip
- (15.55 KiB) Downloaded 207 times
-
- Posts: 720
- Joined: Thu Sep 11, 2014 1:49 pm
- Location: The Netherlands
Re: Barcode Scanner Widget issue
Do you mean that it does not show in your stack while you are in run or edit mode in LiveCode? Or do you mean it does not show after compiling to Android on an Android device?
Paul
Paul
-
- Posts: 52
- Joined: Sat Sep 08, 2012 10:50 am
Re: Barcode Scanner Widget issue
I mean that it doesn't show in the device.
Anyway Panos just confirmed that is a bug and suggested a valid workaround so for anyone that is experiencing the same issue can check in the QA Center for details.
Briefly the problem is due to the textFont property set in the stack and inherited by the widget.
The workaround is the following:
set the textFont the widget "myScanner" to "(Default)"
Thank you.
Anyway Panos just confirmed that is a bug and suggested a valid workaround so for anyone that is experiencing the same issue can check in the QA Center for details.
Briefly the problem is due to the textFont property set in the stack and inherited by the widget.
The workaround is the following:
set the textFont the widget "myScanner" to "(Default)"
Thank you.
Re: Barcode Scanner Widget issue
Good tip to know !
You could edit the title of your message by adding "[SOLVED]". That will help future readers, people who peruse or do searches on the site.
-
- Posts: 28
- Joined: Sat May 30, 2020 12:50 am
Android BarCode Scanner Widgets not working
I am developing an android application that needs to read the information from a QR Code.
I am using the Android Barcode Scanner widgets, it lifts the camera well inside the application but it does nothing, the barcodeDetected messages do not run.
I gave him all the permissions and nothing.
I am using the Android Barcode Scanner widgets, it lifts the camera well inside the application but it does nothing, the barcodeDetected messages do not run.
I gave him all the permissions and nothing.
Re: Android BarCode Scanner Widgets not working
See :yunior.portilla wrote: ↑Sat May 30, 2020 5:40 pmI am developing an android application that needs to read the information from a QR Code.
I am using the Android Barcode Scanner widgets, it lifts the camera well inside the application but it does nothing, the barcodeDetected messages do not run.
https://quality.livecode.com/show_bug.cgi?id=22609