I'm workin on an app that streams online radio (school project)
but the thing here is , the only format I managed to stream was an mp3 file.
is there a way to stream an asx file ?
I failed with pls and m3u as well
I used
but it just doesn't give me any errors or nothing..
but the thing here is , the only format I managed to stream was an mp3 file.
is there a way to stream an asx file ?
I failed with pls and m3u as well
I used
Code:
MediaPlayer mp = new MediaPlayer();
try {
mp.setDataSource(PATH_TO_FILE);
mp.prepare();
mp.start();
} catch (Exception e) {
// TODO: handle exception
}
but it just doesn't give me any errors or nothing..