Hi this java code connects to a online radio and use a player to play the stream.
Anyone knows what is the b4j code to do this ?
Anyone knows what is the b4j code to do this ?
B4X:
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("http://uplink.duplexfx.com:8800/")
.build();
Response response = client.newCall(request).execute();
InputStream stream = response.body().byteStream();
Last edited: