×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Feb 2012
    Posts
    8

    Post how to control Native Media Player Audio/Video from other application in symbian

    Hi ,

    I want to pause and resume the media player from other application.

    what is best way to control it ?? any help please ..

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,175

    Re: how to control Native Media Player Audio/Video from other application in symbian

    in general you don't have control over external applications. anyway what is the use case you would need this feature for ?

  3. #3
    Registered User
    Join Date
    Feb 2012
    Posts
    8

    Re: how to control Native Media Player Audio/Video from other application in symbian

    I need to pause the Media player when I recieved a SIP/VOIP call and Play again after the call is end.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,175

    Re: how to control Native Media Player Audio/Video from other application in symbian

    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.

  5. #5
    Registered User
    Join Date
    Feb 2012
    Posts
    8

    Re: how to control Native Media Player Audio/Video from other application in symbian

    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 .

  6. #6
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    104

    Re: how to control Native Media Player Audio/Video from other application in symbian

    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

Similar Threads

  1. Replies: 2
    Last Post: 2012-01-25, 13:32
  2. Replies: 1
    Last Post: 2011-06-10, 14:41
  3. Native media player that support RTSP?
    By brummelisa in forum Mobile Java General
    Replies: 0
    Last Post: 2005-09-14, 14:33

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×