У меня есть веб-просмотр в приложении для Android. Когда пользователь переходит к веб-просмотру и нажимает ссылку для загрузки файла, ничего не происходит.
URL = "my url";
mWebView = (WebView) findViewById(R.id.webview);
mWebView.setWebViewClient(new HelloWebViewClient());
mWebView.getSettings().setDefaultZoom(ZoomDensity.FAR);
mWebView.loadUrl(URL);
Log.v("TheURL", URL);
Как включить загрузку внутри веб-представления? Если я отключу веб-просмотр и включу намерение загрузить URL-адрес в браузере из приложения, загрузка выполняется без проблем.
String url = "my url";
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(url));
startActivity(i);
Может кто-нибудь помочь мне здесь? Страница загружается без проблем, но ссылка на файл изображения на странице HTML не работает...