Unable to read data from URL connection. Permission Given in Manifest

view story

http://stackoverflow.com – I am getting: java.net.SocketException: Permission denied error in the LogCat. Here is my code for the main java file. i have also added the permissions INTERNET and ACCESS_NETWORK_STATE in the manifest file. package com.example.read; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URL; import android.os.Bundle; import android.app.Activity; import android.util.Log; import android.widget.TextView; public class MainActivity extends Activity { TextView tv; @Override protected void onCrea (HowTos)