Note: To access all shared projects, get information about environment setup, and view other guides, please visit Explore-In-HMOS Index.
This app shows how to implement hce payment feature.
- Use NFC to make payments, both when the app is open and when it's closed.
- Languages: ArkTS, ArkUI
- Frameworks: HarmonyOS SDK 5.1.0(18)
- Tools: DevEco Studio Version 5.1.1.830
- Libraries:
- @kit.ArkData
- @kit.ConnectivityKit
ohos.permission.NFC_CARD_EMULATIONTo make payment
entry/src/main/ets/
├───components
│ CardTransferSuccess.ets
│ NoSuk.ets
├───entryability
│ EntryAbility.ets
├───entrybackupability
│ EntryBackupAbility.ets
├───model
│ Card.ets
│ SUK.ets
├───pages
│ Index.ets
├───rdb
│ │ Rdb.ets
│ └───tables
│ CardTable.ets
│ SukTable.ets
├───util
│ HceHandler.ets
└───viewmodel
CardVM.ets
- Huawei Watch 5
HcePayment is distributed under the terms of the MIT License See the LICENSE for more information.



