2

Can anyone show me how to implement a file-chooser/picker for Android using Mono?

Thanks in advance, Tery

Tery Emilson
  • 43
  • 2
  • 4

2 Answers2

1

Would this sample work for you?

Tom Opgenorth
  • 1,511
  • 1
  • 12
  • 19
0

You can also use one of the Xamarin Plugin projects available as a NuGet package, if you want to support more platforms later. The currently most actively maintained package is this one: https://github.com/jfversluis/FilePicker-Plugin-for-Xamarin-and-Windows (note: I'm one of the contributors to the project).

Picking files is as easy as calling var result = await PickFile() and checking the result object. See also the sample code mentioned in the README.md of the Github project.

vividos
  • 6,468
  • 9
  • 43
  • 53