You Are Here:

Community: Developer Discussion Boards

#1 Old Sound in Java on 7210 - 2003-10-28, 19:16

Join Date: Oct 2003
Posts: 8
miraclemaker
Offline
Registered User
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.
Reply With Quote

#2 Old 2003-10-29, 10:18

Join Date: Mar 2003
Posts: 2,280
Location: Israel
shmoove
Offline
Forum Nokia Champion
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
Reply With Quote

#3 Old 2003-10-29, 21:17

Join Date: Oct 2003
Posts: 8
miraclemaker
Offline
Registered User
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.
Reply With Quote

#4 Old 2003-10-30, 09:39

Join Date: Mar 2003
Posts: 2,280
Location: Israel
shmoove
Offline
Forum Nokia Champion
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
Reply With Quote

#5 Old 2003-10-30, 19:29

Join Date: Oct 2003
Posts: 8
miraclemaker
Offline
Registered User
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.
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