I was following this question but found a problem.
Use my webcam with Ubuntu running in VirtualBox
I used guvcview to test the camera, it works. I installed the 12.04 virtualbox release from their website and installed the extension pack. But when I click the usb with the green plus sign it says no devices available.