I am working on an application on the S60 3rd edition, a part of which needs to allow selection of images from the media gallery.
To do this, i have used the MGFetch::RunL() function, the documentation for which states that no capabilities are required for it except for the DRM when using DRM-protected images.
When tested on target however, when trying to access the gallery, i got an error citing a security violation. This was resolved, and i was able to access the gallery when i mentioned the capability ReadUserData in the MMP.
Does this mean that the MGFetch::RunL() requires the ReadUserData capability, even though the documentation does not mention this? I am looking to submit this application for Symbian Signing in the next few days and would really appreciate it if someone could clarify this issue.