docs-maui icon indicating copy to clipboard operation
docs-maui copied to clipboard

Need explanation and example of how to get something *into* a cache or app data directory

Open mprogers opened this issue 2 years ago • 1 comments

I have a file that I need to copy onto an Android (and eventually iOS and macOS) device, and get its path. That should be easy but I've spent hours trying to Google this, without success.

In my case, I'm using Visual Studio for Mac, and the documentation doesn't really address that (at least on this page).

It's probably easy, but it am guessing it requires some prior knowledge -- maybe Xamarin Forms? Android development? -- that I am lacking.

An explanation would be welcome.

Thanks

Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

mprogers avatar Jul 06 '23 23:07 mprogers

@mprogers If I understand you correctly, https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/storage/file-system-helpers?tabs=android#copy-a-bundled-file-to-the-app-data-folder covers it?

davidbritch avatar Jul 27 '23 10:07 davidbritch