I've exhausted every resource I can find on this, and nothing has helped. I'm new to PhoneGap and working with an Android device and I'm trying to access the camera. I copied the example from the documentation on camera use ( http://docs.phonegap.com/en/2.9.0/cordova_camera_camera.md.html
Trying to run my code now first throws, "Uncaught TypeError: Cannot read property 'PictureSourceType' of undefined at file:///android_asset/www/test.html:21
and then when I press the "Capture Photo" button, it throws, "Uncaught TypeError: Cannot read property 'PNG' of undefined at file:///android_asset/www/test.html:81
I've included a lot of permissions in my config.xml file out of desperation for something to work:
At the top of the test.html page, I'm referencing cordova.js with:
I have the latest version of PhoneGap, so there's no version thing at the end of cordova.js. There's also phonegap.js, which is identical to cordova.js.
Also, this is in the AndroidManifest:
I've been at this for hours and I'd really appreciate any help I can get