Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-03-2007, 06:23 PM
Member
 
Join Date: Aug 2007
Posts: 2
presto is on a distinguished road
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 with this bug.
If anyone has a suggestion I would be glad!!!

Thanks a lot,

Fernando
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-31-2007, 04:28 PM
Member
 
Join Date: Oct 2007
Posts: 4
JavaBiatch is on a distinguished road
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?
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 10-31-2007, 04:55 PM
Member
 
Join Date: Aug 2007
Posts: 2
presto is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Receiving UDP pockets Java Tip java.net 0 04-07-2008 09:08 PM
Re-playing sound JSK CLDC and MIDP 0 02-06-2008 12:34 PM
Finding out the client who is receiving the response. v.ranjith Advanced Java 2 01-29-2008 08:03 AM
Playing sound in applet?????? Bagesh Java Applets 2 07-13-2007 05:46 PM


All times are GMT +3. The time now is 12:08 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org