StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
how to move StrictMode.ThreadPolicy.Builder
to AsyncTask
or to an IntentService
?? if Intent mean it would be much helpful.
StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
how to move StrictMode.ThreadPolicy.Builder
to AsyncTask
or to an IntentService
?? if Intent mean it would be much helpful.
StrictMode.ThreadPolicy this way for debug mode only. Use it in AsyncTask.