Is there any permission present in android to read a file from the internet
<p>i am asking this , because i have tried .... some codes and created my own for accessing a file , which is present in internet , i want to read that file but my code is not working so i am asking this question because in SD_CARD case we have to provide the permission to our android app , that you can access it .... by this reason every time my application is terminated &amp; my code is :-</p>

<pre><code>    try 
{
        url = new URL ("http://sites.google.com/site/androidersite/text.txt");
} 
    catch (MalformedURLException e) 
    {
    Toast.makeText( this , "url String mein hi error aa raha hai .. oo" ,          Toast.LENGTH_LONG ).show();
}

    HttpURLConnection  urlConnection = null ;
    try 
    {
    urlConnection = (HttpURLConnection) url.openConnection();
} 
    catch (IOException e) 
    {
        Toast.makeText( this , "HTTP url connection mein error" , Toast.LENGTH_SHORT ).show();
}

    ConnectivityManager connMgr = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);

    NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();

    if (networkInfo != null &amp;&amp; networkInfo.isConnected()) 
    {
         Toast.makeText( this , "connect hua" , Toast.LENGTH_SHORT ).show();
    } 
    else 
    {
         Toast.makeText( this , "nahi hua connect" , Toast.LENGTH_SHORT ).show();
    }

    try 
    {
         BufferedReader bufferReader = new BufferedReader(new InputStreamReader(url.openStream()));

         String StringBuffer;
         String stringText = "";

         while ((StringBuffer = bufferReader.readLine()) != null) 
         {
              stringText += StringBuffer;
         }

         bufferReader.close();

    } 
    catch (MalformedURLException e) 
    {
        e.printStackTrace();
    } 
    catch (IOException e) 
    {
        e.printStackTrace();
    }
</code></pre>

<p>&amp; for permissions i have provided , it .</p>

<pre><code>&lt;uses-sdk
    android:minSdkVersion="16"
    android:targetSdkVersion="15" /&gt;

&lt;uses-permission android:name="android.permission.INTERNET"&gt;&lt;/uses-permission&gt;
</code></pre>
