如何从另一个应用程序共享图像到我的Cordova / PhoneGap应用程序? [英] How can I share an Image to my Cordova/PhoneGap App from another App?
问题描述
我有一个Cordova / PhoneGap应用程序来处理照片。我想要的是让其他应用程式分享相片给其他应用程式时,我的应用程式会出现在分享选项中。
I have a Cordova/PhoneGap App which deals with photos. What I want is to make my app appears in the sharing options, when other apps want to share a photo to other apps.
这里有一个这样的分享对话框:
Here is an example for such a sharing dialog:
>
如何让我的Cordova / PhoneGap应用程式显示在其他应用程式的相片分享选项中?
编辑:当我点击分享到Instagram的一些照片应用程序,我得到以下弹出窗口。如何让我的应用程式也出现在这个分享弹出框中?
When I click on share to Instagram in some photo apps I get the following popup. How can I make that my app does appear in this share popup too?
推荐答案
对于iOS,已在此主题回答
For iOS it's been answered on this thread
iMessage UIActivityViewController 中的我的应用程式
您已有更多信息
对于Android,您可以按照此处的说明
http://developer.android。 com / training / sharing / receive.html
For android you can follow the instructions here http://developer.android.com/training/sharing/receive.html
这篇关于如何从另一个应用程序共享图像到我的Cordova / PhoneGap应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!