Good morning, I have a ListView that contains a webView, which should load a web page, everything normal up to that point, but instead of loading it in the WebView box, I get the "open with" option, something like this:
when what I want is that the data is loaded in the webView, as in a box like this:
] 2
The code with which I call the WebView and give it the URL is as follows:
WebView imagen=(WebView)item.findViewById(R.id.WViewImg);
imagen.loadUrl(datos.get(position).getImagen());
Why is this happening? what am I missing?
You need to define which web client to use. Add the following to the activity: