Android : IO Error unknown error
Java development is some while ago for me, but just got a new Android device so I installed Eclipse and the Android SDK on my Linux machine. But what you gonna develop? Well I couldn’t find a app on the Android market to control my SoundBridge device. So that will be my first project. Don’t expect to many results in the near future because I have currently a lack of spare time.
But on of the first things I ran into was an unknown IO error. The Soundbridge uses a kind of telnet interface to interact with, but I just could not open a connection. After some research I founded out, the application doesn’t have any permission to access the network by default. To grant the application network access you have to declare it in the AndroidManifest.xml file.
<uses-permission android:name="android.permission.INTERNET" />
It’s fully understandable, but another error message would be much more informative.