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.

74
Articles
0
Likes
262
Views
0
Comments
Recent Articles

Latest from 51CTO HarmonyOS Developer Community

74 recent articles
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Oct 14, 2026 · Mobile Development

HarmonyOS 7 Agent: Build Enterprise RAG Knowledge Base with Cloud Embeddings

The article demonstrates implementing a Retrieval-Augmented Generation (RAG) pipeline on HarmonyOS 7 for enterprise private knowledge base Q&A, covering document chunking with sliding window overlap, deterministic vectorization for offline testing, cosine similarity search, orchestrated index/retrieve/generate phases, system prompt constraints to prevent hallucination, UI citation display, and 27 offline unit tests.

Agent DevelopmentArkTSEnterprise Knowledge Base
0 likes · 16 min read
HarmonyOS 7 Agent: Build Enterprise RAG Knowledge Base with Cloud Embeddings
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Oct 12, 2026 · Mobile Development

HarmonyOS 6 3D Spotlight: One Light Pulls Models from Darkness

The article demonstrates creating a dramatic 3D spotlight effect on HarmonyOS 6 by setting up a near-dark environment, adding a configurable spotlight with adjustable intensity, cone angle, and color temperature, and providing complete ArkTS code for real-time interactive lighting control on a MatePad Edge device.

3D graphicsArkGraphics3DArkTS
0 likes · 21 min read
HarmonyOS 6 3D Spotlight: One Light Pulls Models from Darkness
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Sep 23, 2026 · Mobile Development

Eliminate HarmonyOS Scroll White Blocks: Dynamic Prefetch + ImageKnife Caching

This article presents a complete HarmonyOS solution for eliminating white blocks during fast scrolling in image-heavy lists by combining dynamic prefetching via the prefetcher library with ImageKnife image caching, demonstrating two implementations using LazyForEach and Repeat components with performance benchmarks showing under 5% white block rate and minimal memory overhead.

ArkUIHarmonyOSImageKnife
0 likes · 20 min read
Eliminate HarmonyOS Scroll White Blocks: Dynamic Prefetch + ImageKnife Caching
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Sep 20, 2026 · Mobile Development

HarmonyOS 7: Window Breakpoints, On-Device AI, and Agentic Dev Tools Close the Loop

HarmonyOS 7 introduces window-breakpoint UI adaptation for triple-fold and wide-form devices, on-device Core Vision Kit APIs for 4× image super-resolution, text-to-image search, and face comparison, a lightweight ArkGraphics 3D engine, and DevEco CLI/Code agentic tooling that turns natural language into runnable apps with free GLM-5.1 on Ascend NPU.

ArkGraphics 3DAscend NPUCore Vision Kit
0 likes · 15 min read
HarmonyOS 7: Window Breakpoints, On-Device AI, and Agentic Dev Tools Close the Loop
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Sep 4, 2026 · Mobile Development

HarmonyOS arktoolbox compact: Remove Falsy Array Values in One Line

This article introduces the compact utility from the arktoolbox library for HarmonyOS, which removes falsy values (null, undefined, 0, false, empty string, NaN) from arrays, explains its implementation, compares it with filter(Boolean), highlights edge cases like 0 being valid data, and demonstrates practical usage in forms, API aggregation, and caching.

ArkTSHarmonyOSarktoolbox
0 likes · 16 min read
HarmonyOS arktoolbox compact: Remove Falsy Array Values in One Line
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Sep 2, 2026 · Mobile Development

HarmonyOS 7.x: Build iOS-Style Rubber Band Bounce for Lists (System vs Custom Physics)

This article details two approaches to implement edge bounce effects in HarmonyOS 7.x Lists: using the built-in edgeEffect.Spring API for quick integration, and a custom physics-based animation with damping formula and spring curve tuning for deep customization, including parameter recommendations, bottom bounce implementation, performance comparison, and five common pitfalls with solutions.

HarmonyOSListPerformance Tuning
0 likes · 18 min read
HarmonyOS 7.x: Build iOS-Style Rubber Band Bounce for Lists (System vs Custom Physics)
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Aug 31, 2026 · Frontend Development

HarmonyOS 7 Floating Tabs: Window-Width-Driven Layouts for Foldables & Tablets

This article demonstrates how to build responsive HarmonyOS 7 floating tab layouts that adapt to foldable phones, tablets, and split-screen windows by reading actual container width via ContainerReader, using breakpoints at 440/600/840 vp to switch column counts, preserving business state during layout changes, and avoiding device-type branching.

ArkTSContainerReaderHarmonyOS 7
0 likes · 26 min read
HarmonyOS 7 Floating Tabs: Window-Width-Driven Layouts for Foldables & Tablets
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Aug 28, 2026 · Mobile Development

HarmonyOS Cold Start Optimization: 4-Step Pipeline from Icon Tap to Interactive

This article details a four-step HarmonyOS cold start optimization methodology: baseline measurement, deferred non-critical parsing, taskpool concurrency for heavy parsing, and skeleton screens with in-process caching to decouple first-frame and interactive metrics, validated via dual-track measurement on a sample 'Morning Brief' page.

ArkUIHarmonyOSTaskPool
0 likes · 36 min read
HarmonyOS Cold Start Optimization: 4-Step Pipeline from Icon Tap to Interactive
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Aug 26, 2026 · Mobile Development

Building a Complete HarmonyOS News Client: Network Requests, Pull-to-Refresh & Load More Implementation

This tutorial walks through building a full-featured HarmonyOS news module with category tabs, list rendering, custom pull-to-refresh and load-more logic using touch events and offset animations, network request encapsulation with Promise-based error handling, and a layered architecture separating view, viewmodel, and common utilities.

ArkTSHarmonyOSList Component
0 likes · 33 min read
Building a Complete HarmonyOS News Client: Network Requests, Pull-to-Refresh & Load More Implementation