This is a migrated thread and some comments may be shown as answers.

Barcode scanning in the app page

1 Answer 234 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chris
Top achievements
Rank 1
Chris asked on 15 Aug 2017, 11:23 AM

Is it possible to program the barcode scanner so that it is:

1. active in a square box on the app page (and that it is active and waiting for someone to put a barcode under the phone.)

 

At present I have it configured so that you have to push a button to activate it.   I want to turn it on 5 seconds after entering the page and leave it on the entire time the user is on the page but set to timeout after 3 minutes.

Can anyone point me in the right direction of how I would implement this code functionality.

 

thanks

1 Answer, 1 is accepted

Sort by
0
Ventsislav Georgiev
Telerik team
answered on 18 Aug 2017, 08:47 AM
Hello Chris,

If I understand correctly you would like to embed the scanner inside the web page, instead of opening the camera in full screen on a button click. The BarcodeScanner plugin doesn't support that feature and as suggested in this issue it is not trivial to implement. I would suggest trying out the cordova-plugin-qrscanner, as his implementation allows an html elements to be rendered over the scanner, thus allowing you to create an interface.

Let me know if this helps.

Regards,
Ventsislav Georgiev
Progress Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
General Discussion
Asked by
Chris
Top achievements
Rank 1
Answers by
Ventsislav Georgiev
Telerik team
Share this question
or