Skip to content
Advertisement

android get radio stream data

I am trying to get what song is on with this code:

JavaScript

}

Url I want to use are from this page: http://radio.m-1.fm/ so for example http://radio.m-1.fm/M-1PLIUS (which is http://84.46.147.81/m1plius/mp3) but I get error java.net.SocketException: Permission denied Any ideas what is wrong?

Advertisement

Answer

Add Internet Permission in Manifest.xml.

JavaScript

Refer this Manifest.permissions

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement