MMAPI unresolved symbol error.

Started by
1 comment, last by Moose6912 19 years, 6 months ago
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?
Advertisement
InputStream is in java.io, you need to import that.
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.

This topic is closed to new replies.

Advertisement