×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    10

    Red face trouble with playing sound with incoming call

    i have problem if anyone can help me,
    1 i am using nokia 6230i
    2 i am playing sound/midi and in the middle of playing i have incoming call
    3 i release all the player resources using hideNotify()
    4 i receive the incoming call then after finish
    5 i select option->startplay to initialize and play again the midi/sound and i got "device error" exception until i quit my app and open it back.

    notes:
    i got no problem if i don't receive the incoming phonecalls. only if i received the phone call this error occured.

    here are my codes :

    Player mp;

    private void playmusic(String filename) throws MediaException, IOException {
    mp = Manager.createPlayer("file:///" + filename);
    mp.start();
    }

    public void hideNotify() {
    if (mp != null) {
    try {mp.stop();}
    catch (MediaException ex) {}
    mp.deallocate();
    mp = null;
    }
    System.gc();
    }

    PLEASEEEEEEEE..... HHHEELLLLLPPPPP :-((((
    Thank you sooooo muchhh... :-*

    warm regrads,
    -xins

  2. #2
    Registered User
    Join Date
    Jun 2005
    Posts
    1
    i'm also having the same problem whilst playing midi files.
    Have you found a solution yet? Is there a solution?

    Thanks Laurence

  3. #3
    Registered User
    Join Date
    Jun 2005
    Posts
    18
    is 6230i is able to record voice using JSR 135 , Nokia UI API and other API's.

  4. #4
    Registered User
    Join Date
    May 2003
    Posts
    2
    Hi all,

    it looks, that this problem is similar to all Nokia Series 40 DP 2 handsets (6230, 6230i, 6170)...

    I'm also solving this problem but without any visible success :-(

    There would help some Nokia informed person... is here any?

    Rada

  5. #5
    Registered User
    Join Date
    Aug 2004
    Posts
    4
    Hi,

    anybody got any news on this one?

    Me desperate!

    Cheers,
    Wiebke

  6. #6
    Registered User
    Join Date
    Feb 2006
    Posts
    2

    Re: trouble with playing sound with incoming call

    Hi,

    Has anyone been able to find a solution for this problem?
    I am also desperate.

    Greetings,
    Arnold

  7. #7
    Registered User
    Join Date
    Feb 2006
    Posts
    2

    Re: trouble with playing sound with incoming call

    I've found a solution, I don't understand why it works but it does. After playing a sound I used to make a call to Thread.sleep(). Removing this call to Thread.sleep() fixed the problem.

  8. #8
    Nokia Developer Expert
    Join Date
    Jun 2005
    Posts
    923

    Re: trouble with playing sound with incoming call

    mp = Manager.createPlayer("file:///" + filename);

    Where exactly is the MIDI file you're trying to play?

    Daniel

Posting Permissions

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