06-05-2021 11:43 - edited 06-05-2021 12:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-05-2021 11:43 - edited 06-05-2021 12:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I developed a simple application that monitors & saves heart rate data with timestamp and sends them to the companion. For the purpose, the program should run 24 hours a day or longer, but it keeps turning off every 10 to 12 minutes.
Below is log I got:
I used "me.appTimeoutEnabled = false; // Disable timeout" but still having the same problem.
I also set my application to clockface, but recieved the same log that app is closed on device.
Can anyone knows the reasons and how to resolve it?

06-05-2021 14:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


06-05-2021 14:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Use the memory API to monitor memory usage. If your app crashes because it runs out of memory, it will be closed and the companion will be unloaded.
Gondwana Software

