Xamarin.forms 从Android Xamarin的照片中选择图像

Xamarin.forms 从Android Xamarin的照片中选择图像,xamarin.forms,xamarin.android,Xamarin.forms,Xamarin.android,当从Android中选择照片时,它允许我从中进行选择(图库、照片和更多应用程序) 我想将照片设置为默认设置,并拒绝用户选择。 有关帮助的解决方案 改变 var imageIntent = new Intent(Intent.ActionPick); 到 邮寄前请先阅读。您需要在帖子中包含相关代码,而不是作为外部链接。谢谢分享。别忘了接受答案。 var imageIntent = new Intent(Intent.ActionGetContent);

当从Android中选择照片时,它允许我从中进行选择(图库、照片和更多应用程序) 我想将照片设置为默认设置,并拒绝用户选择。

有关帮助的解决方案

改变

var imageIntent = new Intent(Intent.ActionPick);


邮寄前请先阅读。您需要在帖子中包含相关代码,而不是作为外部链接。谢谢分享。别忘了接受答案。
var imageIntent = new Intent(Intent.ActionGetContent);