Reverting to Nexus API for Camera.prototype.capture function, since the cameras.get_image API no longer exists.