×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    22

    Controlling the native music player from an application

    Hi,

    i would like to let the user play background music from their playlist in the native music player, and only control next/previous song from inside my application.
    Is it possible to remotely control the native music player?
    If not, is it possible to fetch the playlist at least?
    Thanks in advance.

    damien

  2. #2
    Super Contributor
    Join Date
    Oct 2005
    Posts
    739

    Re: Controlling the native music player from an application

    Quote Originally Posted by damsku
    Hi,

    i would like to let the user play background music from their playlist in the native music player, and only control next/previous song from inside my application.
    Is it possible to remotely control the native music player?
    If not, is it possible to fetch the playlist at least?
    Thanks in advance.

    damien
    You can make a play list and can invoke the native music player for every changes you made in the play list. that means if you move next you have to invoke the player once more from your application with the new file to play.

    Hope you understand me
    Peter

  3. #3
    Registered User
    Join Date
    Jun 2006
    Posts
    22

    Re: Controlling the native music player from an application

    Oh, you mean starting the music player as "process" just like i would launch a web browser?
    If i got that right, doesn't it lead to my application to loose the focus?

  4. #4
    Super Contributor
    Join Date
    Oct 2005
    Posts
    739

    Re: Controlling the native music player from an application

    Quote Originally Posted by damsku
    Oh, you mean starting the music player as "process" just like i would launch a web browser?
    If i got that right, doesn't it lead to my application to loose the focus?
    With native music player you meant the default music player right...?

    if so definitly you will loos your focus.

    Peter

  5. #5
    Regular Contributor
    Join Date
    Mar 2004
    Location
    Mobile Village - IN
    Posts
    78

    Re: Controlling the native music player from an application

    Extract from S60 Help
    -----------------------
    The Multimedia Framework APIs are called by the example's engine class, CMediaClientEngine. This also implements the various callback interfaces required by the APIs in order to report progress and error conditions. Each of the play options (tone, file, stream) is handled by a separate overload of the PlayL() function. Recording is started through RecordL(). The current operation can always be terminated through Stop().

  6. #6
    Registered User
    Join Date
    Jun 2006
    Posts
    22

    Re: Controlling the native music player from an application

    Yes, i mean default music player by native

  7. #7
    Registered User
    Join Date
    Jun 2006
    Posts
    22

    Re: Controlling the native music player from an application

    ramupc: yes, i'm doing things like that now, but it doesn't let me control the default music player, i just feed the ring buffer from inside my application, and that would require my application to have an interface to control a playlist etc...
    which is what i am trying to avoid

  8. #8
    Super Contributor
    Join Date
    Oct 2005
    Posts
    739

    Re: Controlling the native music player from an application

    Quote Originally Posted by damsku
    Yes, i mean default music player by native
    Then you can't get the focus back to your application until you exit the Music player . I think if you are invokig the music player from a menu then its possible for you to get back to your application by running the music player in the bacground . Correct me if i am wrong.

    Peter

  9. #9
    Registered User
    Join Date
    Jun 2006
    Posts
    22

    Re: Controlling the native music player from an application

    Yes i can go back to my application with the music player in background by having user input to switch back to my application.
    However, the requirement is so the change of music should be totally transparent and not look like the default music player is taking over..

  10. #10
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: Controlling the native music player from an application

    I think what you want to do can be done in FP1 devices, but I am not sure about 3.0 devices.

    The API is in the MusicPlayerRemoteControlAPI.
    http://www.forum.nokia.com/info/sw.n...g-In_Pack.html

  11. #11
    Registered User
    Join Date
    Jun 2006
    Posts
    22

    Re: Controlling the native music player from an application

    Looks like what i need... But for 3rd edition not FP1 only..

  12. #12
    Registered User
    Join Date
    Dec 2010
    Posts
    39

    Re: Controlling the native music player from an application

    how to invoke native music player from our J2ME application ?

Similar Threads

  1. 6230i Music Player Problems
    By j1mmym3 in forum General Development Questions
    Replies: 3
    Last Post: 2008-07-21, 22:35
  2. SyncML synchronization in native application
    By alcoran in forum OMA DM/DS/CP
    Replies: 3
    Last Post: 2007-10-25, 11:48
  3. N93 native camera crash the application
    By binli120 in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2006-11-20, 21:01
  4. Replace ringtone player by own application
    By Roald de Vries in forum Symbian
    Replies: 0
    Last Post: 2005-01-18, 10:41

Posting Permissions

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