Hi ,
I want to pause and resume the media player from other application.
what is best way to control it ?? any help please ..
Hi ,
I want to pause and resume the media player from other application.
what is best way to control it ?? any help please ..
in general you don't have control over external applications. anyway what is the use case you would need this feature for ?
I need to pause the Media player when I recieved a SIP/VOIP call and Play again after the call is end.
I think it would be interrupted, if you have MultimediaDD capability with your process and would play the audio with high priority. Not 100% sure, but I would at least suggest trying that out.
Thanks Yucca !
But unfortunately it dint work even after playing in hight priority.
I have used MMPXPlaybackUtility which is part extension plugin on 5th edition , still looking for 3rd edition solution.
Appreciate any help .
Hi,
It was possible on N95/N95 8Gb using Ext plugin for 3rd edition FP1 ver 2.5.
AFAIK it doesn't work on later releases.
Check mplayerremotecontrol.h from plugin. You should be able to pause/play/stop on N95 with
MMPlayerRemoteControl::HandleCommand(TInt);
enum TMPlayerRemoteControlCommands
{
EMPlayerRCtrlCmdNoCommand = 0,
EMPlayerRCtrlCmdPlay,
EMPlayerRCtrlCmdPause,
EMPlayerRCtrlCmdStop,
EMPlayerRCtrlCmdStartSeekForward,
EMPlayerRCtrlCmdStartSeekBackward,
EMPlayerRCtrlCmdStopSeeking,
EMPlayerRCtrlCmdNextTrack,
EMPlayerRCtrlCmdPreviousTrack,
EMPlayerRCtrlCmdStartMusicPlayer,
EMPlayerRCtrlCmdCloseMusicPlayer,
EMPlayerRCtrlCmdBack,
// EMPlayerRCtrlCmdPlayPause action depends on Music Player internal state.
//
// State | Executed command
// ----------------------------------------
// Playing | Pause
// Paused | Play
// Stopped | Play highlighted playlist item
EMPlayerRCtrlCmdPlayPause
};
I didn't try it for years since that.
Hope it helps
Viktor