I tried following this tutorial: Getting Data from the Web
I tried implementing it on Android 3.0, the latest platform for tablets, however, I get this error: \"
I got the same error and for the issue was that I was on VPN and I didn't realize that. After disconnecting the VPN and reconnecting the wifi resolved it.