×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    3

    How to send pause/play command to media player from another app

    I need to send pause/play command to media player from another app in Nokia 5800. How to do it? Can I send some specific message to media player using TApaTask->SendMessage or TApaTask->SendKey? Or is there a away to send these messages using CRemConXXXX API?

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146

    Re: How to send pause/play command to media player from another app

    Quote Originally Posted by piisku View Post
    I need to send pause/play command to media player from another app in Nokia 5800. How to do it? Can I send some specific message to media player using TApaTask->SendMessage or TApaTask->SendKey? Or is there a away to send these messages using CRemConXXXX API?
    Sending anything using the SendMessage wont make much of a diff, coz you have no control over what the media player does with your message. The send key approach might work, but even then the keys that you can send would be raw key events, wonder if they would actually get mapped to the real keys like play/pause/rewind etc.

    AFAIK the rem con api is about getting callbacks for key presses, like volume up/down and then handle them in your app if you like. The AIW framework could have been worth a try, but I dont see any keys related to the media player, so I doubt that as well.

    Cheers,
    Mayank
    P.S. What is your business case to send keys to the media player though?

Similar Threads

  1. porting open source media player on symbian
    By akingaonkar in forum Open C/C++
    Replies: 2
    Last Post: 2007-11-06, 03:51
  2. Call media player with J2ME (nokia 6131 NFC)
    By JesusFD in forum Mobile Java General
    Replies: 0
    Last Post: 2007-10-04, 09:22
  3. Media Player 6230
    By agoff in forum Streaming and Video
    Replies: 5
    Last Post: 2005-01-19, 05:06
  4. is there a 6230 media player download?
    By cmayder in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2004-12-31, 08:59
  5. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46

Posting Permissions

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