【发布时间】:2019-10-30 20:45:30
【问题描述】:
我想在WebView 中显示一个.pdf 文件,该文件正在进行身份验证。该应用已被 Google 拒绝,因为我正在使用意图加载 WebView
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse("http://UserName:password@myUrl", "text/html");mContext.startActivity(intent);
【问题讨论】:
标签: android android-intent android-webview basic-authentication pdfview