我如何可以共享图片给我的科尔多瓦/ PhoneGap的应用程序从其他应用程序? [英] How can I share an Image to my Cordova/PhoneGap App from another App?
问题描述
我有一个科尔多瓦/ 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:
我怎样才能让我的科尔多瓦/ 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
<一个href="http://stackoverflow.com/questions/15991990/my-app-inside-imessage-uiactivityviewcontroller">My里面的iMessage UIActivityViewController 应用
在这一个,你有更多的信息
on this one you have even more info
<一个href="http://stackoverflow.com/questions/2774343/how-do-i-associate-file-types-with-an-iphone-application">How我有一个iPhone应用程序关联的文件类型?
有关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
这篇关于我如何可以共享图片给我的科尔多瓦/ PhoneGap的应用程序从其他应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!