Users wanted to access camera role to attach to an email in android devices.
In Secure Mail, if we set the Inbound Document Exchange (open in) to Restricted, on any Android device, our only options when using Secure Mail to attach a photo are – Last photo taken or to use the camera to take a picture.
There is no option to attach a photo from the Gallery.
If we set the Inbound Doc Exchange to Unrestricted, there is the option to open Documents, and from there you can choose a photo from the Gallery.
In Secure Mail / Secure Mail versions 10.3.5 and higher, Android users can't attach images directly from the Gallery app when the Inbound document exchange (Open-in) policy is set to Restricted. If you want to keep this policy set to Restricted but still allow users to add photos from the Gallery, follow these configuration steps in the XenMobile console.
1. Set Block gallery to Off.
2. Get the Gallery package ID for devices. Some examples:
3. Make the hidden policy InboundDocumentExchangeWhitelist visible:
4. Upload the modified .mdx file to the XenMobile console and add the list of Gallery package IDs to the now-visible Inbound document exchange whitelist policy
Make sure the package IDs are comma separated:
com.sec.android.gallery3d, com.sec.android.gallery3d.panorama360view, com.google.android.apps.photos
5. Save and deploy Secure Mail. Android users can now attach an image from the Gallery app.