Skip to content Skip to sidebar Skip to footer

Associate File Extension With Xamarin Android Application

I am trying to associate a custom file extension with my Xamarin-based Android application. I would like my application to open when the user chooses a particular type of file fro

Solution 1:

This ended up working for me:

[IntentFilter(new[] { Intent.ActionView, Intent.ActionEdit },
    Categories = new[] { Intent.CategoryDefault, Intent.CategoryBrowsable },
    DataScheme = "file", 
    DataHost = "*",     
    DataPathPattern = ".*\\\\.label")]

Post a Comment for "Associate File Extension With Xamarin Android Application"