This question is locked. New answers and comments are not allowed.
We are attempting to build an app that includes barcode scanning. We have prototyped using the plugin described at...
http://docs.telerik.com/platform/appbuilder/sample-apps/sample-barcode-scanner
It works. However, the barcode scanning isn't as robust as we would like or need. That is, it has difficulty reading small barcodes and it isn't especially fast.
On the other hand, we found this plugin for Cordova...
http://www.scandit.com/barcode-scanner-sdk/
It looks to be much better, faster, etc. Not sure, haven't tried it yet.
Before I spend a lot of time trying to understand how to use it in my Telerik Platform Cordova app, I thought it would be wise to ask here first and get a feel for whether or not using this plugin is even possible.
Thanks in advance.
http://docs.telerik.com/platform/appbuilder/sample-apps/sample-barcode-scanner
It works. However, the barcode scanning isn't as robust as we would like or need. That is, it has difficulty reading small barcodes and it isn't especially fast.
On the other hand, we found this plugin for Cordova...
http://www.scandit.com/barcode-scanner-sdk/
It looks to be much better, faster, etc. Not sure, haven't tried it yet.
Before I spend a lot of time trying to understand how to use it in my Telerik Platform Cordova app, I thought it would be wise to ask here first and get a feel for whether or not using this plugin is even possible.
Thanks in advance.
9 Answers, 1 is accepted
0
Hello Greg,
We've had a few customers who reported that they were successfully using this plugin. I can also confirm that you can utilize the Scandit Barcode Scanner Plugin for Phonegap in an AppBuilder project. In order to import it you can follow the steps outlined in this tutorial.
For your convenience I prepared and attached a sample app which demonstrates how to scan a barcode with the Scandit SDK for Phonegap. Please only make sure to set your Scandit App Key in the scan() function implementation.
Let me know if that helps or if you have more questions.
Regards,
Tina Stancheva
Telerik
We've had a few customers who reported that they were successfully using this plugin. I can also confirm that you can utilize the Scandit Barcode Scanner Plugin for Phonegap in an AppBuilder project. In order to import it you can follow the steps outlined in this tutorial.
For your convenience I prepared and attached a sample app which demonstrates how to scan a barcode with the Scandit SDK for Phonegap. Please only make sure to set your Scandit App Key in the scan() function implementation.
Let me know if that helps or if you have more questions.
Regards,
Tina Stancheva
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Doug
Top achievements
Rank 1
answered on 09 Sep 2014, 06:27 AM
Hello Tina,
I tried your ScanditSample.zip file but keep receiving an unable to complete build error with the following details:
Server exception
Failed to install
'com.mirasense.scanditsdk.plugin':Error: grafting xml at selector
"/widget" from
"/tmp/97f1ab577ba349e3a0818e267b8d6d93/res/xml/config.xml" during config
install went bad :(
at ConfigFile_graft_child [as graft_child]
(/home/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/util/config-changes.js:553:19)
at PlatformMunger_apply_file_munge [as apply_file_munge]
(/home/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/util/config-changes.js:161:38)
at PlatformMunger.add_plugin_changes
(/home/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/util/config-changes.js:242:14)
at
/home/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/util/config-changes.js:359:14
at Array.forEach (native)
at PlatformMunger_process [as process]
(/home/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/util/config-changes.js:358:45)
at Object.exports.process
(/home/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/util/config-changes.js:77:12)
at Object.handlePrepare
(/home/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/prepare.js:72:20)
at
/home/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/install.js:544:17
at _fulfilled
(/home/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/q/q.js:798:54)
grafting
xml at selector "/widget" from
"/tmp/97f1ab577ba349e3a0818e267b8d6d93/res/xml
I tried your ScanditSample.zip file but keep receiving an unable to complete build error with the following details:
Server exception
Failed to install
'com.mirasense.scanditsdk.plugin':Error: grafting xml at selector
"/widget" from
"/tmp/97f1ab577ba349e3a0818e267b8d6d93/res/xml/config.xml" during config
install went bad :(
at ConfigFile_graft_child [as graft_child]
(/home/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/util/config-changes.js:553:19)
at PlatformMunger_apply_file_munge [as apply_file_munge]
(/home/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/util/config-changes.js:161:38)
at PlatformMunger.add_plugin_changes
(/home/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/util/config-changes.js:242:14)
at
/home/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/util/config-changes.js:359:14
at Array.forEach (native)
at PlatformMunger_process [as process]
(/home/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/util/config-changes.js:358:45)
at Object.exports.process
(/home/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/util/config-changes.js:77:12)
at Object.handlePrepare
(/home/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/prepare.js:72:20)
at
/home/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/install.js:544:17
at _fulfilled
(/home/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/q/q.js:798:54)
grafting
xml at selector "/widget" from
"/tmp/97f1ab577ba349e3a0818e267b8d6d93/res/xml
0
Doug
Top achievements
Rank 1
answered on 09 Sep 2014, 04:52 PM
Tina,
Please disregard. I built a new project from scratch using your .zip file. Everything runs great now! This is exactly what I was needing. FAR better than Cordova's plugin. This is a huge step forward for us and I cannot thank you enough.
Best regards, Doug
Please disregard. I built a new project from scratch using your .zip file. Everything runs great now! This is exactly what I was needing. FAR better than Cordova's plugin. This is a huge step forward for us and I cannot thank you enough.
Best regards, Doug
0
AuctionTrac
Top achievements
Rank 1
answered on 16 Sep 2014, 05:08 PM
I still can't get it to work.
It loads (via AppBuilder) on my phone. But, tapping the scan button does nothing at all.
I put in my AppKey from Scandit. What else to I need to do?
It loads (via AppBuilder) on my phone. But, tapping the scan button does nothing at all.
I put in my AppKey from Scandit. What else to I need to do?
0
Hello Greg,
I've tested the sample again - to make sure there are no issues with the attachment. I successfully imported the zip in a new blank JavaScript AppBuilder project. I added the proper Scandit AppKey and I was able to successfully build and deploy the app on a device.
I was also able to open the scanner as expected through the button. This is why we will need more information about the issue you're facing. Can you please elaborate on the steps you're following to import the sample project. Also, can you please provide us with more information about the device you're testing the sample on. Additionally, if you can open a support ticket and attach the project you created in it, we can take a closer look at it.
In any case I would recommend that you try to debug the app while running it on a device to see whether the scan button executes any logic.
Regards,
Tina Stancheva
Telerik
I've tested the sample again - to make sure there are no issues with the attachment. I successfully imported the zip in a new blank JavaScript AppBuilder project. I added the proper Scandit AppKey and I was able to successfully build and deploy the app on a device.
I was also able to open the scanner as expected through the button. This is why we will need more information about the issue you're facing. Can you please elaborate on the steps you're following to import the sample project. Also, can you please provide us with more information about the device you're testing the sample on. Additionally, if you can open a support ticket and attach the project you created in it, we can take a closer look at it.
In any case I would recommend that you try to debug the app while running it on a device to see whether the scan button executes any logic.
Regards,
Tina Stancheva
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
William
Top achievements
Rank 1
answered on 07 Jan 2015, 02:07 PM
Hi Greg, I got the same issue, have you figured it out?
0
Hello William,
We will need some more information like your device model and OS version and the app you are using if differs from the provided one in this thread to be able to try to replicate your issue and help you further.
If you are going to send us your project please open a private ticket and attach it there.
In the meantime try to debug your app on device as my colleague suggested. Thus you will be able to check whether the code gets executed and if any errors are present.
Regards,
Zdravko
Telerik
We will need some more information like your device model and OS version and the app you are using if differs from the provided one in this thread to be able to try to replicate your issue and help you further.
If you are going to send us your project please open a private ticket and attach it there.
In the meantime try to debug your app on device as my colleague suggested. Thus you will be able to check whether the code gets executed and if any errors are present.
Regards,
Zdravko
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Joseph
Top achievements
Rank 1
answered on 13 May 2015, 06:07 PM
Hi I am getting the same issue as Greg. I click on the scan button and nothing happens. I have a app key, but it is a trial version.
0
Hi Joseph,
The plugin should work even if you use a trial key. I was able to import version 4.4.1 of the plugin which is accessible when logged in http://www.scandit.com/ and I would say that it works fine.
Once downloaded, you will have to unzip it in a folder and zip again the whole folder so it complies with the structure required by AppBuilder. Then follow the steps here to import it in your app and set the app key in the sample code provided to test the API.
You can also debug the app on your side and check whether the plugin's API gets executed.
If you still have troubles, provide a sample app in a private ticket that isolates the issue so we could take a look.
Regards,
Zdravko
Telerik
The plugin should work even if you use a trial key. I was able to import version 4.4.1 of the plugin which is accessible when logged in http://www.scandit.com/ and I would say that it works fine.
Once downloaded, you will have to unzip it in a folder and zip again the whole folder so it complies with the structure required by AppBuilder. Then follow the steps here to import it in your app and set the app key in the sample code provided to test the API.
You can also debug the app on your side and check whether the plugin's API gets executed.
If you still have troubles, provide a sample app in a private ticket that isolates the issue so we could take a look.
Regards,
Zdravko
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items