MobileCRM.UI.MediaTab.capturePhoto - Resconet/JSBridge GitHub Wiki
Captures photo on this media tab.
This example demonstrates how to initiate photo capture on the media tab.
MobileCRM.UI.EntityForm.requestObject(function (entityForm) {
// get media tab by its name
var media = entityForm.getMediaTab("DocumentAction");
media.capturePhoto();
}, MobileCRM.bridge.alert, null);