A Phonegap example for BarCode of both Android and iPhone