Phonegap barcode scanner app using ionic and angularjs

I created a full implementation of a phonegap barcode scanner app using the ionic and angularjs frameworks for the platforms supported by com.phonegap.plugins.barcodescanner. The platforms supported are Android, iOS and Windows Mobile. It is available from github: https://github.com/jlinoff/PgBarcodeScanner.git.

The app has some interesting features like using the $q promise/deferred implementation to capture the barcode scanner information for display in a table, using the angularjs state routing that is the default in the ionic framework and providing the config.xml that phonegap needs to incorporate the plugin properly.

To use it in phonegap, create a new, open-source project and reference this github repository (or your fork). Phonegap knows how to deal with the www directory tree automatically.

The app has not been fully tested so please beware. It is only meant to show the basic ideas so that you can easily incorporate the barcode scanner into your app.

The source code is distributed under the MIT license so you are free to use it any way that you like.

I built the app using the following commands:

Leave a Reply