Can I use navigator.camera.getPicture() in cordova api to select a pdf from device? my code is
navigator.camera.getPicture(fileUploadSuccess,fileUploadFail,
{sourceType:navigator.camera.PictureSourceType.PHOTOLIBRARY,
destinationType:navigator.camera.DestinationType.DATA_URL,
quality:50,mediaType:navigator.camera.MediaType.ALLMEDIA});
the code opens device gallery but i can see only image files. Do I need to change any options? Is there any alternative if I can't use camera.getPicture() method? I am using cordova as this is a hybrid app.