Example of Phonegap Barcode