我如何添加一个"分享"选择到iOS / iPhone或Android的图片库? [英] How can I add a "share" option to an iOS/iPhone or Android image gallery?

查看:83
本文介绍了我如何添加一个"分享"选择到iOS / iPhone或Android的图片库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想补充无论是共享选项,iOS或Android手机的画廊,否则另一个菜单选项将执行相同的任务。我想开始与iOS,如果它是可能的。例如,如果你去你的图片库的iPhone或Android手机上,有一个分享按钮,你可以根据手机上选择用电子邮件发送时,Picasa,Facebook,微博等。我需要添加类似的东西,把它分享给我自己的网站或应用程序。

I'm trying to add either a "share" option to iOS or Android phone galleries, or else another menu option that will perform the same task. I would like to start with iOS if it is possible. For example, if you go to your image gallery on an iPhone or Android phone, there is a share button, and you can choose Email, Picasa, Facebook, Twitter, etc depending on the phone. I need to add something like that to share it to my own web site or app.

如果任何人有连一个起点的主意,开始读这将是有益的!

If anyone has an idea of even a starting point to start reading that would be helpful!

推荐答案

在iOS上,您可以使用ShareKit:

on iOS, you can use ShareKit:

ShareKit:投递Share功能为所有iOS应用

在Android上,使用ACTION_SEND:

on Android, use ACTION_SEND:

使用ACTION_SEND意向 Android中共享内容

Sharing content in Android using ACTION_SEND Intent

这篇关于我如何添加一个"分享"选择到iOS / iPhone或Android的图片库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆