51CTO HarmonyOS Developer Community
Author

51CTO HarmonyOS Developer Community

The HarmonyOS Developer Community is a learning-oriented community for developers to learn, communicate, ask questions, and share.

56
Articles
0
Likes
7
Views
0
Comments
Recent Articles

Latest from 51CTO HarmonyOS Developer Community

56 recent articles
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Jun 26, 2026 · Mobile Development

HarmonyOS Float Precision Pitfalls: Choosing the Right Type for Sensor Data

This article explores floating-point precision issues in HarmonyOS development, demonstrating how float's 7-digit limit corrupts sensor data, why double increases memory 30% and fails in Native calls, and why BigDecimal kills real-time performance, concluding with a scenario-based selection strategy and validation mechanism.

BigDecimalHarmonyOSNative interface
0 likes · 10 min read
HarmonyOS Float Precision Pitfalls: Choosing the Right Type for Sensor Data
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Jun 18, 2026 · Mobile Development

TianQu: Pure Kotlin Coroutine-Driven KMP/CMP Router for HarmonyOS, Android & iOS

TianQu is a pure Kotlin, coroutine-driven routing framework for Kotlin Multiplatform/Compose Multiplatform that supports HarmonyOS, Android, and iOS, featuring compile-time KSP scanning, type-safe navigation, cross-module service discovery, ViewModel lifecycle binding, concurrent preloading, and dynamic feature loading.

AndroidCompose MultiplatformCoroutines
0 likes · 34 min read
TianQu: Pure Kotlin Coroutine-Driven KMP/CMP Router for HarmonyOS, Android & iOS
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Jun 10, 2026 · Mobile Development

HarmonyOS Network Library: Chainable API, Interceptors & Multi-format Requests

This article details a HarmonyOS network request library encapsulation featuring global configuration, chainable API, request/response interceptors, and support for JSON, form, binary, and multipart file uploads, with complete implementation code, usage examples, and pitfalls like ArkTS type constraints and large-file memory limits.

ArkTSChainable APIFile Upload
0 likes · 16 min read
HarmonyOS Network Library: Chainable API, Interceptors & Multi-format Requests