android the httpget request time out
<p>I need to call http get request in <code>jni</code>,but I keep getting IOEException: <code>The operation timed out</code></p>

<p>I can visit the request URL in browser,I don't know how to visit successful call in <code>jni</code>?
my quest code is :</p>

<pre><code>//creat httpRequest object
    HttpGet httpRequest = new HttpGet(url);
    try
    {
        //obtain HttpClient object
        HttpClient httpclient = new DefaultHttpClient();
        //request HttpClient，get HttpResponse
        HttpResponse httpResponse = httpclient.execute(httpRequest);
        //request success
        if (httpResponse.getStatusLine().getStatusCode() == HttpStatus.SC_OK)
        {
            //get returned string
            ……
        }
        else

            Log.e("request error!","request error!");
        }
            }
            catch (IOException e)
            {
                Log.e("IOException",e.getMessage().toString());
            }
</code></pre>
