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:Media Gallery on Symbian does not automatically update its view (Known Issue)

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}}.

Media Gallery does not automatically update its view when 3rd-party applications add media files directly to Image, Video, or Sound clip directories, in S60 3rd Edition devices

Article Metadata
Platform(s): S60 3rd Edition
S60 3rd Edition (initial release)
Created: User:Technical writer 1 (20 Aug 2007)
Last edited: hamishwillee (21 Jun 2012)


When using document handler to copy or move files, Media Gallery will also get a notification about the new content.

Create a copy of the new file in a temporary folder, and then move it to the correct location with CDocumentHandler::SilentMoveL(). For example:

    TDataType nullType;
TInt ret = 0;
TRAPD( moveErr, ret = iDocHandler->SilentMoveL(
KEntryAttNormal ) );
This page was last modified on 21 June 2012, at 05:59.
34 page views in the last 30 days.