将我的应用设置为共享目标(Xamarin) [英] Setting my app as a sharing target (Xamarin)

查看:72
本文介绍了将我的应用设置为共享目标(Xamarin)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种方法,使我的用户可以通过共享(在Android上)将图像发送到我的应用.

I'm looking for a way to enable my users to send images to my app via sharing (On android).

我现在的主要目标是在按图库中的共享"按钮并存储共享的图片(或图片的链接)时,将我的应用置于共享到"选项卡上.

My main goal right now is to get my app on the "share to" tab when pressing the share button in the gallery, and storing the shared picture(or a link to the picture).

推荐答案

我使用android studio而不是xamarin找到了答案,因为它给我带来了很多问题.如果您自己遇到相同的问题,则应遵循Arvindraja的回答,请不要因为他的回答只会使您的应用显示在共享菜单中,但您共享给它的数据不会保存在任何地方,因为您将需要附加代码.

I have found my answer using a android studio instead of xamarin, as it was giving me a lot of problems. If you have the same problem yourself, you should follow Arvindraja answer, please do not that his answer will only make your app appear in the share menu but the data you will share to it will not be saved anywhere, for that you will need additional code.

这篇关于将我的应用设置为共享目标(Xamarin)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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