I wish to save a text file to the external storage of an Android device. I understand that I must use a similar syntax to "Android.OS.Environment.ExternalStorageDirectory". However, Android.OS is not recognised and I am unable to include it with "using Android.OS" and I have no idea why.
I have created a new Xamarin.Forms application and have my methods setup in the MainPage.cs file. I see that the using.Android stuff is in the MainActivity file so why cant I use them in the MainPage file?