Skip to content
Discussion options

You must be logged in to vote

Hi @szadev you can get this using the https://platform.uno/docs/articles/features/windows-storage-pickers.html#fileopenpicker API. There is a property .SuggestedStartLocation you will set to open the VideosLibrary or PicturesLibrary, which, combined with the extension filters

fileOpenPicker.FileTypeFilter.Add(".png");
fileOpenPicker.FileTypeFilter.Add(".jpg");

allows you to filter out the type of content you want the users to pick.

The link above should give you all you need. If that's not the case, please feel free to ask again :)

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@szadev
Comment options

Answer selected by szadev
Comment options

You must be logged in to vote
3 replies
@ajpinedam
Comment options

@szadev
Comment options

@ajpinedam
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants