我正在尝试使用 Share Intent 打开图像。 DocuSign 应用程序列在共享底页中。但是当我单击它时,会显示一条警告,提示“检索文档数据时出错”。请帮我在 DocuSign 应用程序中打开图片。
Intent shareIntent = new Intent();
shareIntent.setAction(Intent.ACTION_SEND);
shareIntent.putExtra(Intent.EXTRA_TEXT, "Share text");
shareIntent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, uris);
shareIntent.setType("image/png");
startActivity(Intent.createChooser(shareIntent, "send"));
最佳答案
您不能在 Docusign 应用程序中一次打开多个文件。发送单个文件。
使用这个
shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("your file path here"));
代替
shareIntent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, uris);
关于android - Intent 在 Android 中进行文档签名,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40023871/