title: How to resolve permission denied maybe missing internet permission?
body: <p>I am using Netbeans7.2 and entered uses-permission also but i have this error Java.net.Socket Exception Internet denied(Maybe missing internet permission )`
  my AndroidManifest file like this </p>
  
  <pre><code>  &lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
            package="importacao.dados"
            android:versionCode="1"
            android:versionName="1.0"&gt;
          &lt;application android:label="@string/app_name" &gt;
              &lt;activity android:name="importacao"
                        android:label="@string/app_name"&gt;
                  &lt;intent-filter&gt;
                      &lt;action android:name="android.intent.action.MAIN" /&gt;
                      &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
                      &lt;uses-permission android:name="android.permission.INTERNET" /&gt; 
                  &lt;/intent-filter&gt;
              &lt;/activity&gt;
          &lt;/application&gt;
      &lt;/manifest&gt; 
  </code></pre>
  
  <p>//Button</p>
  
  <pre><code>cliente.setOnClickListener(new  Button.OnClickListener(){
      public void onClick(View view){
          InputStream is = null;
           ArrayList namevaluePairs = new ArrayList();
          List r = new ArrayList();
      try{
          HttpClient httpclient = new DefaultHttpClient();
          HttpPost httppost;
              httppost = new HttpPost("http://localhost/cliente.php");
          httppost.setEntity(new UrlEncodedFormEntity(namevaluePairs));
          HttpResponse response;
              response = httpclient.execute(httppost);
          HttpEntity entity = response.getEntity();
          is = entity.getContent();
      }
      catch(Exception e)
      {
          Toast.makeText(getBaseContext(),e.toString(),Toast.LENGTH_LONG).show();
      }
      try{
      BufferedReader reader = new BufferedReader(new InputStreamReader(is,"UTF-8"));
       StringBuilder sb = new StringBuilder();
       String line = null;
        while((line=reader.readLine()) != null)
       {
        //   
       }}
      catch(Exception e)
      {
         Log.e("Erro",e.toString());
      }}});
  </code></pre>