Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

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.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. 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. And always feel free to hit us up on Twitter @MxdRealityDev.

Application that runs in background and shows pop up messages

Hi,

Is it possible to build an app for the HoloLens that can run when another D3D app is running and that can show messages or make a noise when there is something wrong in the background app?

Thanks in advance

Answers

  • Hi,

    Yes it is possible to do this. The usual way to try and do this would be via the Universal Windows apps feature of Background Tasks.

    An application can register one or more background tasks to run some code when a trigger event happens in the system - there are quite a lot of triggers available and they include a TimeTrigger.

    As an example, I just made a simple 2D app which registers (on a button press) a TimeTrigger which will fire every 15 minutes. When the trigger fires, the background task asks the system to display a simple toast notification.

    Toast notifications should display on HoloLens as of the latest release (search the release note here for 'notifications' to see the details).

    If I run this 2D app, register the background task, close the 2D app and then wait 15m then the notification would show even if I was immersed in some other 3D app.

    I guess the question for your situation will be to figure out whether the system has a suitable trigger such that you can invoke your background task at the right time when "something wrong" happens.

    I hope that helps.

Sign In or Register to comment.