Add this code in your Activity OnCreate method:

         if (android.os.Build.VERSION.SDK_INT > 9) {

             StrictMode.ThreadPolicy policy =

             new StrictMode.ThreadPolicy.Builder().permitAll().build();

             StrictMode.setThreadPolicy(policy);

             }

More for this 
Here<http://developer.android.com/reference/android/os/StrictMode.html>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to