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 

  • Power cycle - turn off and then turn on the watch
    Hard reset - reset the watch to factory setting, deleting all the data

  • That's factory reset. Not hard reset.

  • Hard reset - reset the watch to factory setting, deleting all the data

    Yeah, that's exactly what I understood, from context. From what you previously said, the "forcible restart" meaning of "hard reset" wouldn't make sense, as that wouldn't be substantially different from a normal power cycle ("soft reset").

    That's factory reset. Not hard reset.

    As I said earlier, the term "hard reset" is ambiguous (in common usage) because various vendors and sources use it differently.

    Google/Android definitely uses "hard reset" to mean factory reset. (I literally linked to the Android documentation which is an example of this.)

    Other people use "hard reset" to mean forcibly turning the device off and on (usually by using a button combination that's available even if the device isn't responding normally).

    Again, the easiest way to convince yourself that this is a real ambiguity in common usage (other than examples like this very thread), is to google "apple hard reset" and note that you get 50/50 results for factory resetting an iphone and for force restarting an iphone.

    Because of this ambiguity, I appreciate that apple uses the term "force restart" instead of "hard reset".

    To be fair, in at least one support article, Garmin uses the term "hard reset" to mean "force restart". But then again, if I search up "garmin hard reset", google gives me results for *either* force restart or master reset / factory reset / reset to default settings.

    Given that the common usage is ambiguous (there's no agreement on what "hard reset" should mean), I don't think it's realistic to expect people know (or adhere) to Garmin's specific usage.

    This debate comes up almost every time the phrase "hard reset" is typed in these forums. Personally I think we should all just stop using that phrase, but that's even less realistic then getting ppl to agree on a single definition, or to even admit there's more than one definition.

    What would be fairly unambiguous (imo), would to be use these terms:

    - soft reset (this term seems fine since there's only really 1 meaning and there's never any confusion about what's meant). If there's any confusion, people could say "restart" or "power cycle" (yes, I realize those aren't exactly the same thing, in some cases)

    - force restart (instead of "hard reset")

    - factory reset / master reset / reset to defaults (instead of "hard reset")