| Reply | « Previous Thread | Next Thread » |
|
Hi there. I know it's not possible to play midi files from Java on the 7210, but is it possible to play any sounds at all?
If so what format would these need to be in, and do you need to have the mmapi installed? Any code examples would be much appreciated. Thanks. |
| miraclemaker |
| View Public Profile |
| Find all posts by miraclemaker |
|
1.- There is no way to install MMAPI on a phone. Either the phone supports it, or it doesn't. The 7210 doesn't.
2.- The 7210 (all Nokias, actually), has the proprietary package nokia.com.mid.sound.* to allow playback of tone based tunes (all the phones I've seen only support one channel), and WAVs (only works on the 7650). Check the documentation on how to use it, and post back with any specific questions. To create these tunes you can use the Sound Converter that comes packaged with the Nokia SDK, or a small program a user of this forum has made (look for the thread "Program for making FORMAT.TONE" by SenseTG). 3.- Without using the Nokia sound classes you are left with just playing a few beeps using the AlertType.playSound(Display displayable). It can only play a few beeps (the beeps that you hear when using Alerts), but it is fully MIDP 1.0 compatible, so it assures you complete portability. shmoove |
|
Thanks for the reply.
I didn't mean installing mmapi on the phone. I meant on my PC. I use the J2ME wireless toolkit to do my J2ME development, and to use mmapi functions the package must be installed (on the PC) separately. 2. That's great you wouldn't have a link to the relative document would you? I've been through the documents available here: http://www.forum.nokia.com/main/0,65...0,00.html#java But have been unable to find anything related to the use of the nokia.com.mid.sound.* package I'll check out the thread you mentioned. Thanks. |
| miraclemaker |
| View Public Profile |
| Find all posts by miraclemaker |
|
Go to the "Tools and SDKs" section and download the SDK for the 7210 (or any other actually), and the package will be in there (and so will the documentation for it).
shmoove |
|
heh, I already had the SDK installed but didn't realise there were any docs that came with it. I've found them now. Thanks.
|
| miraclemaker |
| View Public Profile |
| Find all posts by miraclemaker |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|