tc8000 vs2015 html5 app

A Akan Baydan 2 years 11 months ago
5 4 0

I am developing application with  visual studio.net cordova HTML5 for TC8000 android.
I get an error when I run the application. How can i solve it.
 
index.html:

 

Please register or login to post a reply

4 Replies

A Akan Baydan

hi darryn,
I am trying to use datswedge. (devextreme component use in project)
add project, GitHub - darryncampbell/EnterpriseBarcodePoC: Enterprise Browser Proof of Concept plugin.
but, Waiting a long time for deviceready..

thanks

A Akan Baydan

Undefined error. How can I register EB on the project.

     function fnScanEnable() {
            EB.Barcode.enable({ allDecoders: true }, fnBarcodeScanned);
            document.getElementById('scanData').value
         = "enabled: press HW trigger to capture.";
        }
        function fnBarcodeScanned(jsonObject) {
            console.log("Barcode Scanned:{" + JSON.stringify(jsonObject) + "}");
            document.getElementById('scanData').value = "barcode: " + jsonObject.data;
        }
        function fnScanDisable() {
            EB.Barcode.disable();
            document.getElementById('scanData').value = "disabled: press 'enable' to scan.";
        }
       window.addEventListener('DOMContentLoaded', loadEvent);
       window.addEventListener('unload', unloadEvent);
   
  

V Vedsatx Saddvv

ebapi-modules.js is part of Enterprise Browser and that script will only run within the Enterprise Browser product.  If you are developing a cordova application the only officially supported technique would be to integrate with DataWedge.  There is a blog post on the topic here:   and I gave a Dev{Talk} on the subject here: There are unsupported techniques for creating Cordova plugins for our devices available on GitHub also.

Of course you could go down the Enterprise Browser route but at that point you are no longer developing a Cordova application: Getting Started - Zebra Technologies Techdocs

A Akan Baydan

hi Darryn,
Cordova I do not think to use. EB For the most suitable project. EB required license? If you use EB, what are the processing steps. How can i solve this error.

CONTACT
Can’t find what you’re looking for?