Ne peut pas obtenir httpResponse contenu

Je n'y gérer pour interroger un service web à partir d'émulateur android (auparavant j'ai eu un UnresolvedHostException mais c'est ok). Maintenant que je peux aller plus loin, je n'ai rien renvoyé dans la HttpResponse de l'Entité (la longueur est égale à -1).

String url = serverUrl + resource;
Log.d(TAG, "GET: " + url);
HttpClient client = new DefaultHttpClient();
HttpGet getMethod = new HttpGet((url));
getMethod.setHeader("User-Agent", USER_AGENT);
getMethod.addHeader("Authorization", "Basic " + getCredentials());   
HttpResponse httpResponse = client.execute(getMethod);
Log.e(TAG, "RESPONSE:" + httpResponse);
Log.i(TAG,httpResponse.getStatusLine().toString());
Log.i(TAG + "1",httpResponse.getLocale().toString());
Log.i(TAG + "2",httpResponse.getHeaders(USER_AGENT).toString());
Log.i(TAG + "3",httpResponse.getEntity().toString());
Log.i(TAG + "4",httpResponse.getEntity().getContent().toString()); 
int length = (int) httpResponse.getEntity().getContentLength();
Log.e(TAG + "5", "LENGTH:" + length);

Les journaux:

D/HttpServices(  275): GET: http://www.google.com/search?q=android
D/dalvikvm(  275): GC freed 2992 objects / 217016 bytes in 103ms
E/HttpServices(  275): RESPONSE:org.apache.http.message.BasicHttpResponse@43ca4920
I/HttpServices(  275): HTTP/1.1 200 OK
I/HttpServices1(  275): en_US
I/HttpServices2(  275): [Lorg.apache.http.Header;@43c44e10
I/HttpServices3(  275): org.apache.http.conn.BasicManagedEntity@43c40be8
I/HttpServices4(  275): org.apache.http.conn.EofSensorInputStream@43c51c60
E/HttpServices5(  275): LENGTH:-1

Je ne suis pas derrière un proxy et ont ajouté le INTERNET autorisation dans le manifeste.
Quelle peut être la raison pour ne pas récupérer le contenu de la requête get (http://www.google.com/search?q=android).
Merci beaucoup pour votre aide,
Luc

InformationsquelleAutor Luc | 2009-12-29