View Full Version : barcode reader app using sencha touch

5 Aug 2011, 10:17 PM
i'm planning to have an app that reads barcodes, with sencha touch and phonegap..

any tips and suggestions..?

12 Feb 2013, 9:58 AM
What platforms do you want to support? Android, iOS, both, other...


2 Apr 2013, 11:38 PM
I'm also trying to add the barcode reader in a Sencha touch project.

I want to build something that goes with every device (Phone, Tablets) and also OS (iOS, Android).
The first step is to integrate the Camera into my sencha project, and then? Suggestions?

Thanx :)

3 Apr 2013, 3:18 PM
You can use a phonegap plugin to handle this for you. Here are some links for iOS and Android solutions:

Android: https://github.com/phonegap/phonegap-plugins/tree/master/Android/BarcodeScanner

iOS: https://github.com/phonegap/phonegap-plugins/tree/master/iOS/BarcodeScanner


3 Apr 2013, 10:03 PM
Thank you for your reply! :)
Isn't there a way to get barcodes via javascript (so that it is unique for every OS)?

If no, I'll check your advice :)

4 Apr 2013, 3:34 AM
I just provided two links that will enable you to read barcodes via javascript. This is enabled via a phonegap plugin which will handle the native code for you but provide a javascript interface to its capability.

My advice is for you to click the links, read the contents, then determine if it will help you accomplish your goals. If after doing that you feel it does not satisfy your goals, please reply with a better description of what you're trying to accomplish.


4 Apr 2013, 4:04 AM
Maybe I explained the problem in a incomplete way, sorry..
Before answering your previous post I've checked your links and I've already thanked you! :P

But I want to build an app that is enabled via browser, so I hope to don't have the OS compatibility problem.

17 May 2013, 3:11 PM
After watching your videos on how to use plugins I had some questions maybe you had solutions for.

The top comment Mike noted that for iOS there is no Cordova.plist, I have added the <plugin name="BarcodeScanner" value="CDVBarcodeScanner" /> to the config.xml

I suppose my question to you is. Have you tried using the barcode plugin with phonegap 2.2 or greater? If so, are there any steps you do out of the ordinary from the tutorial vid or the instructions from github? (I ran into some errors with ARC too) I will try again from scratch hopefully with more success.

thanks for any help,