You Are Here:

Community: Developer Discussion Boards

#1 Old I cannot play any sound on 6230i from j2me midlet - 2006-06-29, 13:46

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

#2 Old Re: I cannot play any sound on 6230i from j2me midlet - 2006-06-29, 18:13

Join Date: Mar 2006
Posts: 518
wang_shui
Offline
Super Contributor
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
Reply With Quote

#3 Old Re: I cannot play any sound on 6230i from j2me midlet - 2006-06-29, 18:37

Join Date: Nov 2003
Posts: 3,641
Location: Bangalore , India
Send a message via Yahoo to balagopalks
balagopalks's Avatar
balagopalks
Offline
Forum Nokia Expert
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
Reply With Quote

#4 Old Re: I cannot play any sound on 6230i from j2me midlet - 2006-07-10, 11:30

Join Date: Mar 2006
Posts: 61
mostakhd
Offline
Forum Nokia Expert
Hi David,
I tested and everything seems to work. would you please send me your phone software version.
BR
Ali
Reply With Quote

#5 Old Re: I cannot play any sound on 6230i from j2me midlet - 2006-07-13, 13:07

Join Date: Aug 2004
Posts: 4
djceejay
Offline
Registered User
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 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
Similar Threads
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

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: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d134434X 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