Categories: Known Issue | Symbian C++ | Multimedia | Music | Base/System | S60 3rd Edition, Feature Pack 1
This page was last modified 02:02, 14 March 2008.
KIS000800 - S60 music player cannot be launched in standalone mode
From Forum Nokia Wiki
| ID | KIS000800 | Creation date | January 11, 2008 |
| Platform | S60 3rd Edition, FP1 | Devices | Nokia N95 8GB, Nokia N81 |
| Category | Symbian C++ | Subcategory | Multimedia |
Overview
The default S60 music player application cannot be launched properly in standalone mode for playing audio files.
Description
Devices like the Nokia N95 8GB and the Nokia N81 have problems in launching the default S60 music player in standalone mode for playing an audio file. While trying to launch the music player in standalone mode, it is launched but it does not play anything.
How to reproduce
Use the following code snippet to launch the S60 music player to play the audio file.
TApaTaskList iTaskList(CCoeEnv::Static()->WsSession());
TBool iExists;
TApaTask iApaTask = iTaskList.FindApp(TUid::Uid(0x102072C3));
iExists = iApaTask.Exists();
if(iExists)
{
// Music player already running
iApaTask.SwitchOpenFile(_L("C:\\Data\\Music.mp3"));
iApaTask.BringToForeground();
}
else
{
// music player is not runnin and needs to be launched
RApaLsSession iAplsSession;
User::LeaveIfError(iAplsSession.Connect());
TThreadId thread;
iAplsSession.StartDocument(_L("C:\\Data\\Music.mp3"), thread, RApaLsSession::ESwitchFiles);
iAplsSession.Close();
}
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.
Solution
In these devices, the S60 music player can only be launched in embedded mode by using the Document Handler API (or) the AIW framework.
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Implementation of Digital Rights Management (DRM) on Mobile Music Player for Java: | atiqkamran | Mobile Java Networking & Messaging & Security | 0 | 2007-07-25 18:38 |
| S40 MIDI troubles | 21n9 | Mobile Java Media (Graphics & Sounds) | 5 | 2006-10-20 00:00 |
| problem ralated to music audio player | deepakk | General Symbian C++ | 1 | 2008-04-02 10:24 |
| N95 - Firmware update - THANK YOU | Steve__ | General Discussion | 3 | 2007-12-28 09:01 |
| A2DP Profile | bluesharksystems | Bluetooth Technology | 10 | 2004-12-20 09:57 |

