title: android can't establish URL connection
body: <p>i've an application that was act properly when i run it with android 2.3.6(Ginger Bread), but when i run it on 4.2 it did'nt work with the URL connection, it can't establish the connection
  here is the snip of the code that performs the URL connection : </p>
  
  <pre><code>try {
                  Add.setEnabled(true);
                  movieContent.setText("");
                  String TITLE =searchET.getText().toString();
                  TITLE = TITLE.replaceAll(" ", "%20");
                  Log.d("title after parsing:", TITLE);
                  URL url = new URL("http://www.omdbapi.com/?i=&amp;t="
                          + TITLE);
                  String URL2="http://www.omdbapi.com/?i=&amp;t=saw";
                  Log.d("URL content", url.toString());
                  HttpURLConnection urlConnection = (HttpURLConnection) url
                          .openConnection();
                  Log.d("URL content", "register URL");
                  urlConnection.connect();
                  Log.d("URL connection", "establish connection");
  </code></pre>
  
  <p>the log cat shows that the flow reach "register URL" log print it then raise a warning in green labeled as QCNEA:</p>
  
  <p><code>03-21 23:53:56.596: D/title after parsing:(16623): saw
  03-21 23:53:56.596: D/URL content(16623): http://www.omdbapi.com/?i=&amp;t=saw
  03-21 23:53:56.596: D/URL content(16623): register URL
  03-21 23:53:56.596: I/QCNEA(16623): |NIMS| getaddrinfo: hostname www.omdbapi.com servname NULL numeric 4 appname 
  03-21 23:53:56.616: I/MediaPlayer(16623): Don't send intent. msg.arg1 = 0, msg.arg2 = 0
  03-21 23:53:57.207: V/MediaPlayer(16623): message received msg=2, ext1=0, ext2=0
  03-21 23:53:57.207: V/MediaPlayer(16623): playback complete
  03-21 23:53:57.207: V/MediaPlayer(16623): callback application
  03-21 23:53:57.207: V/MediaPlayer(16623): back from callback</code></p>
  
  <p>knowing that all permission regarding connection are added.</p>
  
  <p>the weird thing that there is no error , just can't establish the connection.</p>
  
  <p>hope you guys help me with this 
  thanks in advance</p>