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

Unable to save the captured photo in hololens app

I'm attempting to capture a photo inside my hololens app. It is working but it saving the image in device portal . I want to save the image in hololens app so that I can see it in my photos on the hololens. i have given the filepath as: string filePath = System.IO.Path.Combine(Windows.Storage.KnownFolders.PicturesLibrary.Path, filename); for storing the photo in hololens app but here i am getting error: the name WINDOWS does not exist in the context.
and also i have tried with one more code:
******#if !UNITY_EDITOR && UNITY_WINRT_10_0
var cameraRollFolder = Windows.Storage.KnownFolders.CameraRoll.Path;
File.Move(_filePath, Path.Combine(cameraRollFolder, _filename));

endif


but the namespace which i am using is not supporting.
please anyone help me in this. Thanks in advance.

Answers

Sign In or Register to comment.