The PhoneGap camera API is not being called from my controller.
The code is :
navigator.camera.getPicture(this.onPhotoDataSuccess(), this.onFail(),
{ quality: 80,destinationType: Camera.DestinationType.DATA_URL,
sourceType: Camera.PictureSourceType.PHOTOLIBRARY});
But no called being made to the navigator.camera.getPicture() function. Can anyone point out what am i missing?