You Are Here:

Community: Developer Discussion Boards

#1 Old Game Sounds and effects doesn't work on n95 - 2008-04-03, 03:39

Join Date: Mar 2008
Posts: 25
Location: Brazil
atilacorreiacunha's Avatar
atilacorreiacunha
Offline
Registered User
Hello guys, i'm doing a game for s60 n95 and i'm trying to play a simple midi in my game and i get follow JVM error:

JVMJNCK038E JNI error in FromReflectedMethod: Argument #2 (0x4133EDFC) is not a valid object reference. It's type is: unknown

JVMJNCK080E Error detected in the outermost frame of an attached thread

JVMJNCK023E JNI error detected. Continuing...

Here is my piece of code to do that:

try {
InputStream in = getClass().getResourceAsStream("/music.mid");
Player player = ManagerImpl.getInstance().createPlayer(in, "audio/midi");
player.start();

} catch (Exception e) {
System.out.println("In Catch");
}

Can anybody help me?

Thx in advance.
Reply With Quote

#2 Old Re: Game Sounds and effects doesn't work on n95 - 2008-04-03, 08:12

Join Date: Oct 2006
Posts: 1,480
amitkankani's Avatar
amitkankani
Offline
Forum Nokia Champion
hey not too sure about your problem, but i have a n95 and i have seen this strange thing which might be of help to you...

if in the current profile, the warning tone's are on, the java can play sound, else all java sounds are muted !! strange. However, no crashes is seen, its just that sound is muted !

good luck !


Amit Kankani
Forum Nokia Champion
Reply With Quote

#3 Old Re: Game Sounds and effects doesn't work on n95 - 2008-04-03, 17:00

Join Date: Mar 2008
Posts: 25
Location: Brazil
atilacorreiacunha's Avatar
atilacorreiacunha
Offline
Registered User
Thx for reply amitkankani, but i think it is a problem on s60 sdk cause i did a game for sony ericsson mobile phone W910 using MMAPI 1.1 and i put the jar file on my n95 and sounds are perfect. The actual sound api from nokia S60_3rd_FP2_SDK_2 uses 1.2
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: 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