Slide 55
Slide 55 text
Camera API
options = {
quality : 75,
destinationType : Camera.DestinationType.DATA_URL,
sourceType : Camera.PictureSourceType.CAMERA,
allowEdit : true,
encodingType : Camera.EncodingType.JPEG,
targetWidth : 100,
targetHeight : 100
};
navigator.camera.getPicture(success, error, options);
Sunday, October 9, 2011