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.

Archived:Preventing content from being displayed in Media Gallery on Symbian

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Tested with
Devices(s): All (S60 3rd Edition)
Platform(s): S60 3rd Edition
S60 3rd Edition (initial release)
Created: User:Technical writer 1 (03 Sep 2008)
Last edited: hamishwillee (15 Jun 2012)


For applications that store media files for their own internal purposes (custom graphics or UI elements), it is typically not desirable to have those files visible in the Media Gallery.


Whether images and other content are visible in the Media Gallery depends on where they are stored in the file system. If only the application itself requires access to the files, the \private\<secureID-of-process>\ folder is a suitable location. Files under \private folders do not appear in the Media Gallery, and other processes need AllFiles capability to access these files.

If multiple processes require access to the same data, files cannot be shared using a private folder without implementing a client-server solution where one process handles requests to open and pass file handles to its clients. If data confidentiality is not an issue, a common practice is to use an unprotected folder for shared data.

Placing UI image data under \data makes it accessible to all and visible in Media Gallery and File Manager with full access to the files.

Media Gallery searches most unprotected folders on all drives for displayable content. There are, however, a few exceptions. The /system folder (legacy folder for system files from previous Symbian OS versions) is not not protected by data caging on S60 3rd Edition, but files placed there will not be visible in Media Gallery.

Any location under /system will do. However, a logical place would be

This page was last modified on 15 June 2012, at 00:38.
46 page views in the last 30 days.