Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build(); [duplicate]

Tags:

android

iphone

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

I want to know about it.

How it can work ?

like image 885
user3635977 Avatar asked Nov 15 '14 05:11

user3635977


1 Answers

StrictMode is a developer tool which detects things you might be doing by accident and brings them to your attention so you can fix them. StrictMode is most commonly used to catch accidental disk or network access on the application's main thread, where UI operations are received and animations take place

and more information read this

like image 175
Jeffy Lazar Avatar answered Oct 22 '22 00:10

Jeffy Lazar