Attempt to access the device's camera using phonegap API