How to make the webview work, I tried it but it does not work

1

I've tried everything but my webview does not work. help me

the java code

public class TelaIrlanda extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_tela_irlanda);
    Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
    setSupportActionBar(toolbar);

    FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
    fab.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View view) {
            Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)
                    .setAction("Action", null).show();




   WebView wv=(WebView)findViewById(R.id.webView1);

            WebSettings ws = wv.getSettings();
            ws.setJavaScriptEnabled(true);
            ws.setSupportZoom(false);

            wv.loadUrl("https://www.google.com.br");
    
asked by anonymous 17.05.2017 / 18:25

0 answers