I've got an UnknownHostException in my android application when I want to get to my web service.
I inserted an <uses-permission android:name="android.permission.INTERNET" />
at my AndroidManifest.xml.
If I go to my link of webservice via browser it's going fine.
I typed the domain name and IP at the C:\Windows\System32\drivers\etc\hosts
file.
But if I run application via emulator I got an UnknownHostException. As I understand, emulator should use my system files to connect with the server...But, practically it doesn't..Help please with this issue.