Example source code for using Zxing barcode scanner from you application using Intent Source for main.xml ...
www.mysamplecode.com