I am looking for a way to take a photo using phonegap programmatically. 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.