DrupalGap BarcodeScanner Integration
After setting up the plugin in phonegap simply add this to a page:

var html = theme('button_link', { text: 'Start Scan', path: null, attributes: { onclick: "startScan()" } });
$('#my_container').html(html).trigger('create');


Thanks to TylerFrankenstein for this one.