Skip to content

Instantly share code, notes, and snippets.

@mosabua
mosabua / AndroidInsecureKeepAliveHttpsTransportSE
Created Apr 7, 2011
AndroidInsecureHttpsServiceConnectionSE implements the service connection that will allow any SSL cert on Android 2.1 (api level 7) and below, this disables SSL for old platform version, be careful
View AndroidInsecureKeepAliveHttpsTransportSE
import org.ksoap2.transport.HttpsTransportSE;
import org.ksoap2.transport.ServiceConnection;
import java.io.IOException;
public class AndroidInsecureKeepAliveHttpsTransportSE extends HttpsTransportSE {
private AndroidInsecureHttpsServiceConnectionSE conn = null;
private final String host;
private final int port;