Android 有没有办法将多张图片作为Instagram故事的贴纸分享?
本文档说明如何仅发送一个标签,但我想发送多个标签。有办法吗Android 有没有办法将多张图片作为Instagram故事的贴纸分享?,android,android-intent,instagram,instagram-api,instagram-story,Android,Android Intent,Instagram,Instagram Api,Instagram Story,本文档说明如何仅发送一个标签,但我想发送多个标签。有办法吗 直到今天,我还没有办法做到这一点,至少我找不到一个。直到今天,我还没有办法做到这一点,至少我找不到一个 private void sendToInstagram(){ // Instantiate implicit intent with ADD_TO_STORY action, // background asset, sticker asset, and attribution link Intent in
直到今天,我还没有办法做到这一点,至少我找不到一个。直到今天,我还没有办法做到这一点,至少我找不到一个
private void sendToInstagram(){
// Instantiate implicit intent with ADD_TO_STORY action,
// background asset, sticker asset, and attribution link
Intent intent = new Intent("com.instagram.share.ADD_TO_STORY");
intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
intent.setDataAndType(selectedPhotoUri, "image/*");
intent.putExtra("interactive_asset_uri", selectedStickerUri);
// Verify if the Activity will resolve implicit intent
this.grantUriPermission(
"com.instagram.android", selectedStickerUri, Intent.FLAG_GRANT_READ_URI_PERMISSION);
if (this.getPackageManager().resolveActivity(intent, 0) != null) {
this.startActivityForResult(intent, REQUEST_SEND_TO_INSTAGRAM);
}
}