0
     */ 
    private void setSettings() { 
        // Here we set various settings regarding browser experience. 
        WebSettings settings = webview.getSettings();
        webview.setInitialScale(1);
        settings.setSavePassword(false);
        settings.setCacheMode(WebSettings.LOAD_NO_CACHE);
        settings.setAppCacheEnabled(false);
        settings.setUseWideViewPort(true);
        settings.setLoadWithOverviewMode(true);
        settings.setDefaultZoom(WebSettings.ZoomDensity.FAR);
    } 
 
    /** 
     * Initializes the BedditLoginClient and opens the oAuth2 url to begin the login process. 
     */ 
    private void openAuthBrowser() { 
        // Initialize the webClient 
        BedditLoginClient client = new BedditLoginClient(this);
        client.addUrlListener(this);
Connect your IDE to all the code out there  Get Codota for Java