Philip Abbey
69ddb0f197
Amended "no activity" condition
...
Back to using elapsed time.
2024-01-29 19:06:58 +00:00
Philip Abbey
55423c4eb7
Using System.getDeviceSettings().activityTrackingOn
...
Instead of activity elapsed time. Also forgot to update the WebhookManager class code.
2024-01-28 19:52:20 +00:00
Joseph Abbey
930f1525b3
Best practices!
2024-01-28 13:59:07 +00:00
Joseph Abbey
6fc639f17f
Report -1 instead of null for no activity
2024-01-28 13:05:34 +00:00
Joseph Abbey
6b3a17bea3
Add GPS accuracy to update_location webhook and changed activity reporting
2024-01-27 15:39:22 +00:00
Joseph Abbey
96abff9339
Fix spacing of arrows
2024-01-27 14:02:05 +00:00
Philip Abbey
4ff1509046
API level fix
...
Added 'has' test for Activity.getProfileInfo(). Reverted automatic changes to XML prettiness.
Co-Authored-By: Joseph Abbey <me@josephabbey.dev>
2024-01-27 13:57:21 +00:00
Joseph Abbey
e3288c9353
GPS and current activity in background service
2024-01-27 13:11:24 +00:00
Philip Abbey
0b80e4546d
Corrected a previous incomplete commit
...
All now "WatchUi.loadResource($.Rez.Strings.WebhookFailed) as Lang.String"
2024-01-21 20:43:11 +00:00
Philip Abbey
6e67c4cf2a
Removed RezStrings.mc
...
And in-lined the resource strings fetching.
2024-01-21 20:38:01 +00:00
Philip Abbey
d9ecaf34ee
Removed Debug
...
On some devices it looks like removing the System.println() statements from inside an 'if' clause whose condition is a constant (static constant Globals.scDebug) makes a memory saving. This would suggest the compiler does not propagate constants and prune unreachable code. However in the device of greatest interest debug removal has made no difference to the memory usage. Here the conditional clauses have been turned into comments that can be removed on a case-by-case basis otherwise the debug printing is too voluminous anyway.
2024-01-21 17:53:37 +00:00
Philip Abbey
44ec2e2eb1
Initial Solution
2024-01-19 19:26:02 +00:00
Restyled.io
94bc49afe2
Restyled by whitespace
2024-01-14 11:52:49 +00:00
Joseph Abbey
31b30788b1
add TemplateMenuItem
2024-01-14 08:00:49 +00:00
Joseph Abbey
32ce1d2a74
Fix naming
2024-01-12 18:01:00 +00:00
Joseph Abbey
22bb84e13b
Handle errors for the second step
2024-01-11 20:48:46 +00:00
Joseph Abbey
a211565810
2024-01-11 17:37:18 +00:00
Joseph Abbey
f155ab0925
Added error messages for first request
2024-01-11 17:27:52 +00:00
Joseph Abbey
5f794388e6
Resolve review comments
2024-01-11 07:16:38 +00:00