You Are Here:

Community: Developer Discussion Boards

#1 Old Red face trouble with playing sound with incoming call - 2005-04-20, 18:16

Join Date: Mar 2005
Posts: 10
xins
Offline
Registered User
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
Reply With Quote

#2 Old 2005-06-10, 11:42

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

Thanks Laurence
Reply With Quote

#3 Old 2005-06-14, 15:27

Join Date: Jun 2005
Posts: 18
amitkumar_j2me
Offline
Registered User
is 6230i is able to record voice using JSR 135 , Nokia UI API and other API's.
Reply With Quote

#4 Old 2005-06-20, 14:23

Join Date: May 2003
Posts: 2
idjava
Offline
Registered User
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
Reply With Quote

#5 Old 2005-07-19, 09:47

Join Date: Aug 2004
Posts: 4
Java_Challenge_18
Offline
Registered User
Hi,

anybody got any news on this one?

Me desperate!

Cheers,
Wiebke
Reply With Quote

#6 Old Re: trouble with playing sound with incoming call - 2006-02-23, 15:07

Join Date: Feb 2006
Posts: 2
Arnold Ottens
Offline
Registered User
Hi,

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

Greetings,
Arnold
Reply With Quote

#7 Old Re: trouble with playing sound with incoming call - 2006-03-21, 11:32

Join Date: Feb 2006
Posts: 2
Arnold Ottens
Offline
Registered User
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.
Reply With Quote

#8 Old Re: trouble with playing sound with incoming call - 2006-03-21, 15:07

Join Date: Jun 2005
Posts: 928
dcrocha's Avatar
dcrocha
Offline
Forum Nokia Expert
mp = Manager.createPlayer("file:///" + filename);

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

Daniel
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d18645X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ