webview android does not load url http

0

I have the problem that my web does not load link from webview however if it loads others like link . Using WebViewClient if it works for me, although I prefer not to use it because it unravels the whole design, although the navigation bar appears, I do not know if it goes through the issue of certificates any help that can you comment, thanks in advance.

main.java

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    String url = "http://www.mitorneodepadel.es";
    setContentView(R.layout.activity_main);

    WebView web = (WebView) findViewById(R.id.idApli);
    //Habilitar JavaScript
    web.getSettings().setJavaScriptEnabled(true);

    web.loadUrl(url);

}

manifest.xml

                                                                                                    

activity_main.xml

    

    
asked by Manuel 15.04.2018 в 18:48
source

0 answers