Android无法在我的应用程序(Xamarin)中打开xml文件
请告诉我,为什么android在我尝试打开xml文件时看不到我的应用程序Android无法在我的应用程序(Xamarin)中打开xml文件,android,xml,file,xamarin,android-intent,Android,Xml,File,Xamarin,Android Intent,请告诉我,为什么android在我尝试打开xml文件时看不到我的应用程序 [Activity(Label = "App3", Icon = "@drawable/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)] [IntentFilter(new[] { Intent.Acti
[Activity(Label = "App3", Icon = "@drawable/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
[IntentFilter(new[] { Intent.ActionSend }, Categories = new[] { Intent.CategoryDefault, Intent.CategoryBrowsable }, DataMimeType = @"text/xml")]
[IntentFilter(new[] { Intent.ActionSend }, Categories = new[] { Intent.CategoryDefault, Intent.CategoryBrowsable }, DataMimeType = @"application/xml")]
如果我在pdf上更改xml,它可以正常工作,但不能使用xml
必须指出的是,我的应用程序可以安全(共享)文件,但无法打开其他应用程序中的xml文件:(有错误消息吗?没有人。我保存文件,然后查看mime类型的文件。它是text/xml。然后我将其共享到google drive。因此,我尝试打开它,我的应用程序可以打开。如果我尝试使用类似的pdf格式,它工作正常