Forum Xamarin.Forms


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Xamarin.Forms - How to redirect to last opened directory for file/image/video picker

Hi, I am using nuget pkg for image picking. I need to ask if there's a way to open/redirect to the last opened/recent directory? every time user is directed to main galley directory. I want if user opened a directory of camera/dcim/ via image picker and choose a file from it and again he opens the image picker then the camera/dcim directory should open.

I googled it but unable to find anything related.

So any ideas how to achieve this?


  • YelinzhYelinzh Member, Xamarin Team Xamurai
    edited October 2020

    How to redirect to last opened directory for file/image/video picker

    We can't do this because the path is already specified on each platform. When taking a photo using the media plugin, the file will be stored at main galley directory. And if you pick a photo, the main galley directory will be opened. The library doesn't provide the method to sepcify the path of saving files and picking files.

    For the function, you could report the request to the author of the plugin on github.

Sign In or Register to comment.