The code i'm actually using for my streaming is very much lite and easier than the BlackBerry's example, you only have to use this function, and voila! your app will stream audio from the internet!
public void Player(String url){
Player p;
try {
p = Manager.createPlayer(url);
p.start();
} catch (IOException e) {
e.printStackTrace();
System.out.println("I/O Exception: "+e);
} catch (MediaException e) {
e.printStackTrace();
System.out.println("Media Exception: "+e);
}
}
You can download my entire project example from this link STREAMING AUDIO EXAMPLE
it doesn´t work
ResponderEliminar