Logcat printing “interface name: null” during each DefaultHttpClient execution method call

I am contacting a web service multiple times to get a JSON String via HttpGet and DefaultHttpClient.

...
DefaultHttpClient defaultHttpClient = new DefaultHttpClient();
HttpGet httpGet = new HttpGet(url);
HttpResponse httpResponse = (HttpResponse)defaultHttpClient.execute(httpGet);
HttpEntity httpEntity = httpResponse.getEntity();
...

I find that LogCat is printing interface name: null with tag System.out for each time HttpResponse httpResponse = (HttpResponse)defaultHttpClient.execute(httpGet); is executed.

Am i establishing this http connection properly with HttpGet? Is there a different way?

How can i create this connection and not get interface name: null LogCat messages from the System.out tag?

13
задан Nadeem_MK 27 September 2013 в 12:33
поделиться