a simple phonegap camera example (based on the phonegap documentation)