×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor
    Join Date
    Nov 2006
    Posts
    54

    Music player pause & resume

    Hi all,

    Is it possible to pause/resume the music player from my code?
    And what about the visual radio?

    thanks

  2. #2
    Super Contributor
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    763

    Re: Music player pause & resume

    If you are trying to do this on devices like N91 ,then am not sure if it will work,because these devices have special keys for these commands.
    As for other devices it would be more like trial and error sending some combination of keys.
    Which devices are you targeting?
    --Mayur.

  3. #3
    Regular Contributor
    Join Date
    Nov 2006
    Posts
    54

    Re: Music player pause & resume

    I'm targeting S60 3rd fp1 devices.

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

    Re: Music player pause & resume

    The plugin SDK has a music player remote control API which might do what you want.

    http://wiki.forum.nokia.com/index.php/SDK_API_Plugin

  5. #5
    Regular Contributor
    Join Date
    Nov 2006
    Posts
    54

    Re: Music player pause & resume

    I used the remote control api, here's my code:

    MMPlayerRemoteControl* playerRemoteControl=MPlayerRemoteControlFactory::NewRemoteControlL();
    playerRemoteControl->SetVolume(playerRemoteControl->MaxVolume());


    But it has no effect on the music player.

  6. #6
    Regular Contributor
    Join Date
    Nov 2006
    Posts
    54

    Re: Music player pause & resume

    Hi all,

    I solved the problem. It is the CAPABILITY.

    Thanks

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

    Re: Music player pause & resume

    What capability you are using? It works on N95 with WriteDeviceData, but it does not work on another 3rd ed. fp1 device

  8. #8
    Regular Contributor
    Join Date
    Nov 2006
    Posts
    54

    Re: Music player pause & resume

    I used the WriteDeviceData

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

    Re: Music player pause & resume

    On N95_8GB and N82 it does not work.

    I am able only to read states, but I can't change anything. Hopefully it is prototype issue.

    Thank you for the reply.

Similar Threads

  1. Create 3GP player with J2ME for Mobile
    By dexxa05 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 57
    Last Post: 2012-01-10, 11:44
  2. Implementation of Digital Rights Management (DRM) on Mobile Music Player for Java:
    By atiqkamran in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2011-02-26, 08:39
  3. Nokia 5300 Music Player
    By TeeEff in forum General Development Questions
    Replies: 4
    Last Post: 2008-06-28, 12:43
  4. Replies: 1
    Last Post: 2007-08-11, 14:57

Posting Permissions

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