Jump to content
  • Advertisement
Sign in to follow this  
Moose6912

MMAPI unresolved symbol error.

This topic is 5410 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm using MMAPI to load in a iMelody file that does a vibration on the Sony Ericsson T610 The code i got from the PDF file is try { InputStream is = getClass().getResourceAsStream("vibrator.imy"); mp = Manager.createPlayer(is,"audio/melody"); mp.prefetch(); } catch (Exception e) { System.out.println("Unable to load vibrator iMelody"); return; } Upon compiling,i got a unresolved error at InputStream.Been trying to figure it out and have also imported the javax.media header.Is there anything i am missing out?

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by Zahlman
InputStream is in java.io, you need to import that.


Yup,managed to solve it by importing javax.io .Thanks for the reply.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!