Pages 1 of 1  
Forums  >> OSGI  >> Problem streaming music with Sprint Titan (Help)

nbillyde
Rank :User
Posts:2
Overall Rating:0
Subject:
Problem streaming music with Sprint Titan (Help)
Date:
2009-10-12 at 05:59 AM CDT

Hello help,

I am Trying to Stream music from my PC to the Emulator (WM6-Professional) and the following error is coming out during Debugging.

Exception in thread "Thread-9" java.lang.NoClassDefFoundError: javax.microedition.media.Manager (initialization failure)

PlaySound Class which implements runnable looks like this:

public class Playsound implements runnable{

public Player player;

public void run() {

InputStream in = getClass().getResourceAsStream("C:/ding.wav");

if (in != null) {
System.out.println ("Streaming ok ");
player = Manager.createPlayer(in, "audio/x-wav");
player.start();
}

else
{System.out.println("No Streaming");}

} catch (Exception e) {
// TODO: handle exception
}
}

}

Best regards,

Christopher


Message will be posted within 2 minutes.
Pages 1 of 1