Note: To access all shared projects, get information about environment setup, and view other guides, please visit Explore-In-HMOS-Wearable Index.
This project is a HarmonyOS smart wearable demo application designed to test NFC tag sticker detection on wearable devices. The application checks whether the target wearable device supports NFC Core and NFC Tag system capabilities, then attempts to detect nearby NFC stickers in foreground reader mode.
The main purpose of this demo is to validate whether SystemCapability.Communication.NFC.Tag can be used on a wearable device and to display basic NFC tag information such as UID and supported tag technologies. If the wearable device does not support NFC Tag capability at runtime, the application clearly shows that direct NFC sticker reading is not available on that device.
A user places an NFC sticker on a physical object such as a desk, gym equipment, access point, or product. When the wearable device is brought close to the sticker, the application attempts to detect the NFC tag and read its basic information.
Example scenario:
- The user opens the NFC Tag Wearable Demo application on the smart wearable device.
- The application checks NFC Core and NFC Tag system capability support.
- The user starts reader mode from the app.
- The user brings the wearable device close to an NFC sticker.
- If the device supports NFC Tag reading, the app detects the sticker and displays the tag UID and supported technologies.
- If the capability is not supported, the app informs the user that NFC Tag reading is not available on the current wearable device.
This demo can be used as a foundation for wearable-based NFC interactions such as quick task triggering, equipment identification, attendance tracking, smart environment actions, or phone-to-wearable NFC workflows.
- Languages: ArkTS
- Frameworks: HarmonyOS SDK 5.1.0(18)
- Tools: DevEco Studio Version 6.0.1
- Libraries:
"ohos.permission.NFC_TAG"
├───entryability
│ EntryAbility.ets
│
├───entrybackupability
│ EntryBackupAbility.ets
│
└───pages
Index.ets
- Huawei Watch 5
- DevEco Studio Simulator
How to use NFC Tag is distributed under the terms of the MIT License See the license for more information.



