Java tutorial
//package com.java2s; //License from project: Apache License import android.os.StrictMode; public class Main { public static void ignoreSslErros() { StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build(); StrictMode.setThreadPolicy(policy); } }