×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    6

    Problem with PlayerUpdate() in Player Listener , DEVICE_AVAILABLE

    Hi,
    I have coded an audio processing application for S40 5th edition Fp1 devices. I need to restart the recorder after an incoming call. I tried to register a PlayerListener to the player and detect the events DEVICE_AVAILABLE and DEVICE_UNAVAILABLE. I tried this with Nokia 5610 and SE 770i, After an incoming call neither DEVICE_AVAILABLE nor DEVICE_UNAVAILABLE was delivered. But RECORDING_STARTED, and STARTED and STOPPED events were delivered.

    Is there any other way to detect the incoming calls and their finishing time? Any help will be appreciated.

    Dham

  2. #2
    Super Contributor
    Join Date
    Jun 2007
    Location
    Mumbai
    Posts
    539

    Re: Problem with PlayerUpdate() in Player Listener , DEVICE_AVAILABLE

    Well when call is in progress and you try to create a player it should give exception that time only. Only if u try to record some thing during call progress it will allow player to be created, and then u will only get the events u are getting.
    au revoir
    Prakash Raman

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    6

    Re: Problem with PlayerUpdate() in Player Listener , DEVICE_AVAILABLE

    Thank you Prakash for the reply,

    No I am not creating the player while I am in a call. As soon as my application starts it creates the players and start recording and processing the audio data. I need to detect a call while I am in this process so that I can start the recording again after the call. Currently what happens is after a call the recording is stops and I need some thing to inform me about finishing of the call.

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. Problem in getting notification of Vedio player when open form gallery
    By ameybarve in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2008-05-14, 10:11
  3. New problem creating Radio Player with N95
    By ashishgavande in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2007-11-02, 22:31
  4. Problem creating Player of Radio
    By ashishgavande in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2007-10-24, 23:08

Posting Permissions

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