Create custom applications for Xiaomi smartwatches using VelaJS (Quick Apps). Apps run directly on the device and can optionally communicate with Android using additional modules.
Full VelaJS reference:
This includes UI, APIs, lifecycle, storage, and advanced modules.
A VelaJS app is a lightweight JavaScript-based application that runs natively on Xiaomi wearable devices.
These features do NOT require Interconnect or any Android integration.
Interconnect is an optional module that enables communication between your VelaJS app and an Android app.
If you use Interconnect, you can integrate your app with Notify for Xiaomi instead of building everything from scratch.
repositories {
flatDir {
dirs 'libs'
}
}
dependencies {
implementation(name: 'xms-wearable-lib_1.4_release', ext: 'aar')
}
This library is only required when using Interconnect with Notify. Standalone VelaJS apps do not need it.
Use these as a starting point for development.
The app will be installed on your smartwatch.
Wearables have limited resources compared to smartphones.