How does backgrounding work?

Former Member
Former Member

Hi everybody,

I'm new to monkeyC and i've encountered some troubles with backgrounding.

I wanna create an app which runs in the background as soon as the watch starts : how can I trigger its startup in the background without launching it the first time in foreground ?

I've also some troubles bc I wanna recover the data from the sensors at regular intervals (the objective is to prevent stress) but I found that the background app cannot run for more than 5 minutes in a row, so all the data collected by the sensors during this time are not accessible?

And how can I switch the app from foreground to background when exiting it (with back button) ?

If you have any advice I would be very grateful! 

Thanks