Xamarin forms Is it possible to set the Path that FilePicker defaults to.

tim 120 Reputation points
2024-03-25T22:14:04.68+00:00

Is there a way to set the path that filepicker can default to, so that I don't have to drill down several folder to get to the folder where the files I want open are located.

the main reason, I need to open several files to view the data that was recorded, to determine we left off or what happened.

I see where you can set Filetype and PickerOptions but nothing about setting the Path.

some of the files I need to open could be in a Cache Folder like the following Android/data/com.companyname.xxxxx/cache/2203693cc04e0be7f4f024d5f9499e13/8a115e13eca6428f8848748e5a9448b3/ and I need to navigate several folder to get there,

and others are located elsewhere down several layers as well.

TIA

Tim.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
{count} votes

1 answer

Sort by: Most helpful
  1. tim 120 Reputation points
    2024-03-26T13:18:08.58+00:00

    Thank you for replying,

    yes, I did look at that posting before, but It mentioned in the reply from" james montemagno added the feature-request label on Apr 13, 2021"

    and thought it might have been added by now. (assuming that his reply was to state the function would be added to the feature-request list.)

    Again thanks.

    Tim