MMAPI unresolved symbol error.
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?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement