Monday, June 24, 2013

In close() at SocketHttpClientConnection in Android

In close() at SocketHttpClientConnection Error In Android.

when i tried to acess network data on MainThread above Android 3.0 >= . I am unable to access . I am getting error In close() at SocketHttpClientConnection. Then i enabled strict mode issue solved.

Add this code in onCreate method.

StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
StrictMode.setThreadPolicy(policy);


2 comments:

  1. The cost to develop a taxi app depends on various factors often overlooked by businesses, but it mostly comes down to the custom features you plan for your app. We can ensure to implement it perfectly as a feature in the taxi app we create for you. So know in detail all about the taxi app cost and features.

    ReplyDelete

Check out this may be help you

Related Posts Plugin for WordPress, Blogger...