Archived:S60 music player cannot be launched in standalone mode on S60 3rd Edition (Known Issue)
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.
TApaTask iApaTask = iTaskList.FindApp(TUid::Uid(0x102072C3));
iExists = iApaTask.Exists();
// Music player already running
// music player is not running and needs to be launched
User::LeaveIfError( iAplsSession.Connect() );
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.