Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Question : Hololens pickers

Concerning this page:
https://docs.microsoft.com/fr-ch/windows/mixed-reality/app-model#known_folders

Why is HoloLens only supporting FileOpenPicker ? And is it still true that no pickers comme with the OS ? Because there is a file explorer and I first supposed that those information were out dated..

I need to pick a folder in which my app will try to read files. I set the Documents Library capability in the XML and was hoping that I could pick a folder in it..

What would be the simplest/ best way to achieve this ?

Thanks for your help

Answers

  • Options

    Some precision, I was developping on Unity..

    https://forums.hololens.com/discussion/comment/21545#Comment_21545

    the post above helped me making the FileOpenFicker work. To make it short, the picker need to run on the UI thread. Then I had to make my calls on the app thread otherwise it had no effect.
    Then I tried with FolderPicker, and it worked. I think this is due to the RS4 which brough a file explorer.

    Posting this response in hope It will help other people asking themself those questions

Sign In or Register to comment.