Created
November 26, 2014 16:49
-
-
Save jamesmundy/5af501ab4875da03ee89 to your computer and use it in GitHub Desktop.
GetPath method used to save in different places depending on build type.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static string GetPath() | |
{ | |
if (Debugger.IsAttached) return Android.OS.Environment.ExternalStorageDirectory.Path; | |
else return Application.Context.FilesDir.Path; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment