Trying to call http post from android - why is it not working?
<p>The code :</p>

<pre><code>private boolean callHttpPost()
{
boolean retVal = false; 

HttpClient httpclient = new DefaultHttpClient();
HttpPost httppost = new HttpPost("http://www.yoursite.com/script.php");

try 
    {
        List&lt;NameValuePair&gt; nameValuePairs = new ArrayList&lt;NameValuePair&gt;(2);
        nameValuePairs.add(new BasicNameValuePair("id", "12345"));
        nameValuePairs.add(new BasicNameValuePair("stringdata", "AndDev is Cool!"));
        httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));

        HttpResponse response = httpclient.execute(httppost);

    } 
          catch (ClientProtocolException e) 
          {
        // TODO Auto-generated catch block
    } 
          catch (IOException e) 
          {
        // TODO Auto-generated catch block
    }
}
</code></pre>

<p>I get to the IOException all the time i call this method - and i dont know why. 
The IOException e is empty - so i can't see actually what is the exception i get. </p>

<p>I checked with Fiddler application that this http/post work with those parameters - and its look ok</p>
