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

Accessing multiple files from a Unity app, preferably with the OneDrive SDK?

JarrodPJarrodP
edited September 2016 in Questions And Answers

Hello, I'm having some trouble with file reading and processing from my Unity app. I've seen a few examples that use the OneDrive app with the FilePicker contract, but I need to be able to read an entire folder that contains at least a few dozen files, so picking individual files is out of the question. It seems that the OneDrive SDK allows you to set up a specific folder for your app in the user's OneDrive account. This seems like a good solution since the SDK looks like it would allow me to navigate the contents of my app folder and retrieve all the files in an individual folder within my app's folder, but I've been unable to determine if the OneDrive SDK even works with the HoloLens. Does anyone know if the OneDrive SDK works with the HoloLens and if so could you give me some suggestions on getting started with it in Unity?

For the sake of thoroughness I should mention that I've looked into a few other options as well. The Documents library from the KnownFolders class doesn't seem like it would work because the files in question don't have an extension that I could associate with my app. StreamingAssets in Unity doesn't seem like it would work because it doesn't look like there's any way to determine the amount of files in the StreamingAssets folder or their names. Is there another method to read all the files in a folder that I haven't discovered yet?

Tagged:
Sign In or Register to comment.