Skip to content

Instantly share code, notes, and snippets.

View rajaei's full-sized avatar
🏠
Working from any where

Masoud rajaei rajaei

🏠
Working from any where
View GitHub Profile
@brendanzagaeski
brendanzagaeski / FooFileActivity.cs
Last active November 25, 2023 22:07
Tell Android to open a particular file type in your Xamarin.Android app
using Android.App;
using Android.Content;
// Tell Android to open a particular file type in your Xamarin.Android app
// Different apps will produce different intents for the same file, so
// you will need multiple intent filters to handle all the cases.
// You can look in the `adb logcat` logs to see which intent appears
// after you have tapped on a file in an app.