Community research
A static survey of 39 downloaded community attachments found 209 readable JavaScript files. The examples include Toolbox, notes, a calculator, a timer, school schedule, icon maintenance utilities and games. Five packages exposed no readable JavaScript to the survey; a non-ZIP binary file was not automatically classified as bytecode.
The package catalog includes per-package metadata and observed symbols. Its downloadable inventory records the individual JavaScript member paths and symbol matches.
Patterns worth studying
- Multi-page apps: Toolbox and notes register page implementations and navigate between views.
- UI updates: games and utilities create widgets, update their properties, and toggle visibility rather than always rebuilding the whole page.
- Temporary values: the calculator and timer use
hmFS.SysPro*; these APIs are in the official 1.0 reference, and the documented string getter describes storage cleared on reboot. - Timers and interaction: timer and game examples retain timer handles and call
timer.stopTimerin relevant flows. Re-check lifecycle cleanup in your own project. - Internal runtime wrappers: a school schedule package uses
DeviceRuntimeCore.WidgetFactoryandHmDomApi. Their appearance in a package does not establish public support. - Files and settings: Toolbox, Wallet and other examples use filesystem functions and device settings. Study side effects before adapting any implementation.
The original package downloads live in the project workspace and are not bundled into this public wiki. The catalog includes checksums, indexed post metadata and the symbol inventory. See Attribution and limitations. Source appearances may include duplicated bundled code, comments or strings, and were not treated as successful device tests.
Libraries
Community ZeppOS-Libraries contains helpers used by saved Toolbox and Wallet sources; the two projects reference different library commits. ZML is Zepp Health's helper library for mini-program communication. Easy Storage and watchface-js provide additional examples or tooling. Check their individual API requirements, licenses and device support before choosing one for a Band 7 app.