Taking the Camera example from the Cordova docs and getting it to work.