wildabeast / BarcodeScanner

Official repository now at [phonegap/phonegap-plugin-barcodescanner](http://github.com/phonegap/phonegap-plugin-barcodescanner).
968 stars 746 forks source link

Modifying cordova bar code scanner plugin interface in sap ui5 for andriod #353

Open sanny16 opened 6 years ago

sanny16 commented 6 years ago

Hi,

i am using cordova.plugins.barcodeScanner.scan to capture QR Code data in sap ui5 application. In desktop, when the plugin is called, its opens a dialog, which has dialog header and a cancel button in the footer. This dialog is generated at runtime. I want to modify its Title and button text. How can i change them?

I want to Change dialog title to "Scan a QR Code" and Cancel button text to another language.

Is it possible to provide blue square at the edges to define qr code scanning area?

Can i add text on the top of this camera view?

I want to show error message on camera view itself - for example if the scanned qr code is not correct then there should be a message displayed from cordova and that message would be defined by me and after showing error message the camera must be kept in scan mode and it should not get closed. I tried handling it via sap ui5 message control to display message, but then the camera view gets closed.

Please suggest how to carry out above changes for andriod mobile and windows desktop.

Thanks,

Saurabh. cordova bar code reader dialog desktop test andriod mobile bar code scanner