Results 1 to 3 of 3
  1. #1
    presto is offline Member
    Join Date
    Aug 2007
    Posts
    4
    Rep Power
    0

    Exclamation Nokia 5300 freezes when playing sound after receiving a call

    Hi!
    I'm porting a game to a nokia 5300. The problem is that when playing a sound after coming back from a call, the game freezes. For other interruptions it works fine.

    Ive found some "solutions" for this problem but none of then worked out. I've tried already: build another sound thread that keeps running (like a sound server) (copying an implementation from a game that works fine in this handset), loading the biggest sound at the beginning of run(), making a thread that loads the sound, plays it and dies.

    Have no idea what to do and I'm driving myself crazy :mad: with this bug.
    If anyone has a suggestion I would be glad!!!

    Thanks a lot,

    Fernando

  2. #2
    JavaBiatch is offline Member
    Join Date
    Oct 2007
    Posts
    4
    Rep Power
    0

    Default

    Hello,

    Iwas working on Nokia 5300 myself and didn't encounteer any problem. Can you tell me what is the firmware your using and wich carrier?

  3. #3
    presto is offline Member
    Join Date
    Aug 2007
    Posts
    4
    Rep Power
    0

    Default

    Hi!
    Sorry, I should have posted the solution. I asked in so many forums that I forgot someones....

    The trick is you have to stop and deallocate every player. I was nulling player without deallocating it and apparently it is a problem for the handset I was working on.

    I don't have the cellphone right now to tell you about the firmware. I'm pretty sure it was a prototype, but this bug happened in a "java verify" test performed by nokia also, i think it is a s40 bug.

    Good luck!

    - Fernando

Similar Threads

  1. Receiving UDP pockets
    By Java Tip in forum java.net
    Replies: 0
    Last Post: 04-07-2008, 08:08 PM
  2. Re-playing sound
    By JSK in forum CLDC and MIDP
    Replies: 0
    Last Post: 02-06-2008, 11:34 AM
  3. Finding out the client who is receiving the response.
    By v.ranjith in forum Advanced Java
    Replies: 2
    Last Post: 01-29-2008, 07:03 AM
  4. Playing sound in applet??????
    By Bagesh in forum Java Applets
    Replies: 2
    Last Post: 07-13-2007, 04:46 PM

Posting Permissions

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