| Reply | « Previous Thread | Next Thread » |
|
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 |
|
i'm also having the same problem whilst playing midi files.
Have you found a solution yet? Is there a solution? Thanks Laurence |
|
is 6230i is able to record voice using JSR 135 , Nokia UI API and other API's.
|
| amitkumar_j2me |
| View Public Profile |
| Find all posts by amitkumar_j2me |
|
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 |
|
Hi,
anybody got any news on this one? Me desperate! Cheers, Wiebke |
| Java_Challenge_18 |
| View Public Profile |
| Find all posts by Java_Challenge_18 |
|
Hi,
Has anyone been able to find a solution for this problem? I am also desperate. Greetings, Arnold |
| Arnold Ottens |
| View Public Profile |
| Find all posts by Arnold Ottens |
|
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.
|
| Arnold Ottens |
| View Public Profile |
| Find all posts by Arnold Ottens |
|
mp = Manager.createPlayer("file:///" + filename);
Where exactly is the MIDI file you're trying to play? Daniel |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|