| Reply | « Previous Thread | Next Thread » |
|
Hello,
I cannot play any sound with 6230i. (if it's wrong, pls correct) I tried two samples from the WTK 2.2: "MMAPI Samples" & "Audio Samples"; also Nokia "Media Sampler" application - all these fail with "MediaException: device error" exception! even this simple code throws that exception: Player sample = Manager.createPlayer(getClass().getResourceAsStream("q1.midi"), "audio/midi"); sample.start(); If anybody succeeded playback anything on this phone, please HELP me ASAP David |
| papirovdavid |
| View Public Profile |
| Find all posts by papirovdavid |
|
Hi please try this code
InputStream in = this.getClass().getResourceAsStream("/q1.mid"); Player sample = Manager.createPlayer(in, "audio/midi"); sample.realize(); sample.prefetch(); sample.start(); Wang |
|
May be this Doc is of some interest to you,
MIDP: Mobile Media API Developer's Guide http://www.forum.nokia.com/info/sw.n..._0_en.pdf.html Regards Gopal |
|
Hi David,
I tested and everything seems to work. would you please send me your phone software version. BR Ali |
|
Also on the 6230i remember to stop and deallocate all other Player's before starting one. This is a quirk with the device.
djceejay |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Sound play question!!! | Gameryf | General Symbian C++ | 1 | 2005-04-13 11:41 |
| How to play sound on buffer? | ched743404 | General Symbian C++ | 1 | 2004-08-20 05:12 |
| Play video without sound | shsf | General Symbian C++ | 0 | 2004-08-17 11:17 |
| play sound over telephone voice channel | chaudhuri_abhi | Mobile Java General | 0 | 2004-06-02 09:15 |
| J2ME and Sound | gfafara | Mobile Java General | 0 | 2002-06-26 20:38 |