WebView download opens browser window for a short moment before returning to WebView

前端 未结 1 869
忘掉有多难
忘掉有多难 2021-02-15 13:29

My Problem is that when I hit the pdf link in the webview, the browser opens for a short moment (I guess to download the linked file), the pdf file starts to download and the ap

1条回答
  •  时光说笑
    2021-02-15 14:17

    Add the MIME type to your Intent you use with startActivity() in your download listener.

    0 讨论(0)
提交回复
热议问题