title: httpget is not working for query string
body: <p>i am working to get data by query string . i have done with httppost but not i am tring to get using httpget . but i am unable. </p>
  
  <pre><code> List&lt;NameValuePair&gt; nameValuePairs = new ArrayList&lt;NameValuePair&gt;();
              nameValuePairs.add(new BasicNameValuePair("key", "android developer"));
  
              String k = "android developer";
               URI uri = new URI("http://10.0.2.2:8080/r/r.php");
  
  
               HttpClient httpclient = new DefaultHttpClient();
               HttpGet httpget = new HttpGet(uri);
               //httpget.setEntity(new UrlEncodedFormEntity(nameValuePairs));
               HttpResponse response = httpclient.execute(httpget);
               HttpEntity entity = response.getEntity();
               is = entity.getContent();
  </code></pre>
  
  <p>please expert help me</p>