String url = "Http://www.siamdatahost.com"; // your URL here MediaPlayer mediaPlayer = new MediaPlayer(); mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); mediaPlayer.setDataSource(Http://www.siamdatahost.com:9566);
mediaPlayer.prepare(); // might take long! (for buffering, etc) mediaPlayer.start(true);