Created
December 12, 2013 11:34
-
-
Save jgdoncel/7926672 to your computer and use it in GitHub Desktop.
Android, deshabilitar Strictmode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void onCreate (Bundle savedInstanceState) | |
{ | |
StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build(); | |
StrictMode.setThreadPolicy(policy); | |
super.onCreate(savedInstanceState); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment