Android Open Source - android-soil-finder S S L Tolerant Web View Client






From Project

Back to project page android-soil-finder.

License

The source code is released under:

GNU General Public License

If you think the Android project android-soil-finder listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.tschuy.soilfinder;
//from w  w  w.j  a  v  a  2 s. co  m
import android.net.http.SslError;
import android.webkit.SslErrorHandler;
import android.webkit.WebView;
import android.webkit.WebViewClient;

/**
 * Created by evant_000 on 3/20/14.
 */

// SSL tolerance for Soil Query
class SSLTolerantWebViewClient extends WebViewClient {
    @Override
    public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) {
        handler.proceed(); // Ignore SSL certificate errors for name queries
    }
}




Java Source Code List

com.tschuy.soilfinder.AboutActivity.java
com.tschuy.soilfinder.MainActivity.java
com.tschuy.soilfinder.SSLTolerantWebViewClient.java
com.tschuy.soilfinder.WebViewFrag.java