Taking a photo with PhoneGap programatically
===

I am looking for a way to take a photo using phonegap programatically.  For example the app can initiate on its own the camera, snap photo and then return to the application with the photo for upload to a server.
Thanks so much!!