android - Intent 在 Android 中进行文档签名

标签 android android-intent

我正在尝试使用 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/

相关文章:

Android:将文本复制到 API < 11 的剪贴板

android - 在 Android 上保持 TensorFlow 模型加密

android - 尝试使用 Retrofit 发出 get 请求时无法为类 java.lang.Object 创建调用适配器

android - 从图库中选择照片后,我的 Android 应用程序关闭。 (帖子上有一个错误的视频)

javascript - 从浏览器 : How to feature-detect "Intent" support? 启动 Android 应用程序

java - Android 上 MapView 中的空网格

android - 当应用程序不在 Play 商店或应用商店时,如何自动将 Flutter Mobile 应用程序更新到较新版本?

android - 如何将位置类型 ArrayList 从 android 中的 MainActivity 传递给 MapsActivity?

java - 如何使用 Intent 将 ArrayList 传递给另一个 Activity?

android - 我如何知道谁结束了 Android 中的通话 - 用户还是远程用户?