Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.
MGFetch requires WriteDeviceData capability on Nokia N97 (Known Issue)
S60 5th Edition
MGFetch (class used for fetching file names for Media Gallery content) is not documented to require any capabilities. However, all overloaded versions of the MGFetch::RunL method require the ReadUserData capability. For more information, see KIS000765 - Issues with MGFetch.
On the Nokia N97, MGFetch::RunL causes a panic (KERN-EXEC 3) or fails with the KErrAccessDenied error unless also the WriteDeviceData capability is defined.
This is a known problem and is expected to be fixed in the next software release for Nokia N97. Add ReadUserData and WriteDeviceData capabilities to your application.
Note that WriteDeviceData requires that the application is Symbian signed.