Wednesday, February 22, 2012

Invalid use of SingleClientConnManager: connection still allocated

Android Invalid use of SingleClientConnManager

Problem:
When i tried to call place same object Httpclient.
ex: like
HttpClient httpClient = new DefaultHttpClient();
httpClient.execute(request);
httpClient.execute(request);
httpClient.execute(request);
httpClient.execute(request);
like multiple place if call same  object . you will get Invalid use of SingleClientConnManager: connection still allocated
below i mention code for solve this problem.
Solution

Check out this may be help you

Related Posts Plugin for WordPress, Blogger...