Installation:
- Click on add existing Android project in Eclipse.
- Go into the phonegap plugin->android->barcode scanner->2.2.0 and add Library project.
- Once that project is added, make sure you right click on project properties and specify that it is library.
- Add the barcode scanner project and right click on properties and add the library you just specified.
- Make sure your emulator is set up or phone plugged in and it should work.