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 over the next few weeks. Thanks for all your past and future contributions.

Archived:S60 music player cannot be launched in standalone mode on S60 3rd Edition (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}}.

Article Metadata
Tested with
Devices(s): Nokia N95 8GB, Nokia N81
Platform(s): S60 3rd Edition, FP1
S60 3rd Edition FP2
S60 3rd Edition FP1
Created: User:Technical writer 1 (January 11, 2008, updated December 17, 2008)
Last edited: hamishwillee (14 Jun 2013)



Nokia Nseries devices based on S60 3rd Edition, FP1 and FP2 include a new music player application that no longer uses the traditional Symbian view architecture. As a side effect, methods provided by the application framework cannot be used for launching it in standalone mode for playing audio files.


In Nseries devices such as the Nokia N95 8GB and Nokia N81, launching the Music Player application in standalone mode, providing an audio file as a parameter, does not work as expected. This applies to methods provided by RApaLsSession. When trying to launch the music player in standalone mode, it is started but does not play anything.

How to reproduce

Use the following code snippet to launch the S60 music player to play the audio file.

 _LIT(KMusicFilename, "C:\\Data\\Music.mp3");
TApaTaskList iTaskList(CCoeEnv::Static()->WsSession());
TBool iExists;
TApaTask iApaTask = iTaskList.FindApp(TUid::Uid(0x102072C3));
iExists = iApaTask.Exists();
// Music player already running
// music player is not running and needs to be launched
RApaLsSession iAplsSession;
User::LeaveIfError( iAplsSession.Connect() );
TThreadId thread;
iAplsSession.StartDocument( KMusicFilename,
RApaLsSession::ESwitchFiles );

This code snippet works fine with other S60 3rd Edition, FP1 devices, such as the Nokia N95, and the S60 default music player is able to play the audio file by launching in standalone mode. However, in devices such as the Nokia N81 and the Nokia N95 8GB, the music player is launched but it does not play anything.


In these devices, the S60 music player can only be launched in embedded mode by using the Document Handler API or Application Interworking (AIW) framework.

See also

Opening a file using CDocumentHandler

This page was last modified on 14 June 2013, at 05:27.
96 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.