gnux8
Posts: 11
Joined: Fri Aug 14, 2015 9:10 am

Raspberry Deployed App - Is stopped automatically.

Wed Jan 04, 2017 9:08 am

Good morning all,
I've wrote an application for my raspberry pi 2 and it's successfully deployed.

Mainly my when is running is waiting for the event on I/O, but if i wait for example a minutes before interact the app is stopped automatically.

How i can do for run the application without to be stopped ?

For sure i can do a while do cycle in a point of program ... but i don't like it very much ...


thanks
Andrea

skipfire
Posts: 29
Joined: Fri Dec 30, 2016 1:27 pm
Location: Indiana, USA

Re: Raspberry Deployed App - Is stopped automatically.

Sat Jan 07, 2017 12:40 am

Try using a UWP project instead of an IoT project, then add in the IoT Extensions. The main UI form will load up (even if you are headless) and keep the application open unless you encounter an unhandled exception.

Return to “Windows 10 for IoT”