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
Apr 2, 2026 · Mobile Development

HarmonyOS 6: Building Controllable Request Interception for AI Apps Amid Trust Crisis

Triggered by the APIfox supply-chain attack, this article details HarmonyOS 6's three-layer request interception (onLoadIntercept, onInterceptRequest, WebSchemeHandler) with code examples for whitelist enforcement, resource substitution, audit logging, and AI-specific filters against prompt injection and data leakage.

AI securityArkWebHarmonyOS 6
0 likes · 22 min read
HarmonyOS 6: Building Controllable Request Interception for AI Apps Amid Trust Crisis
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Mar 27, 2026 · Mobile Development

HarmonyOS Dynamic Gradient Backgrounds: From Property Animation to Keyframe Animation

This article details two approaches for creating dynamic gradient backgrounds in HarmonyOS apps: a simple property animation for color transitions and a high-performance keyframe animation that moves an oversized gradient layer to achieve complex flowing and rotating effects, with complete code examples and a comparison table.

Animation PerformanceArkUIDynamic Gradient
0 likes · 22 min read
HarmonyOS Dynamic Gradient Backgrounds: From Property Animation to Keyframe Animation
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Mar 24, 2026 · Mobile Development

HarmonyOS Tutorial: Audio-Driven Wave Ripple Animation with Microphone Input

This HarmonyOS tutorial walks through building a sound-responsive wave ripple animation by capturing microphone amplitude via AudioCapturer, mapping the 0–1 level to a 80–300 pixel radius using a log10 sensitivity curve, animating three staggered circles with opacity fade, and throttling updates to prevent jank.

AnimationArkUIAudioCapturer
0 likes · 9 min read
HarmonyOS Tutorial: Audio-Driven Wave Ripple Animation with Microphone Input
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Mar 9, 2026 · Mobile Development

HarmonyOS 6 RcText Component: Complete Usage Guide with Code Examples

This guide details the RcText component from the rchoui library for HarmonyOS 6, covering basic text display, theme colors, sizing, custom styling, alignment, decoration, truncation modes, special formats for price and phone numbers, link handling, prefix/suffix icons, interaction events, and layout control with practical code examples.

ArkTSComponent LibraryHarmonyOS
0 likes · 25 min read
HarmonyOS 6 RcText Component: Complete Usage Guide with Code Examples
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Mar 5, 2026 · Cloud Native

HarmonyOS ArkTS & Huawei Cloud FunctionGraph: Edge-Cloud Collaboration Implementation

This article explains how to implement edge-cloud collaboration using HarmonyOS ArkTS for lightweight client-side development and Huawei Cloud FunctionGraph serverless functions for professional cloud-side processing, covering core concepts, advantages, functions, scenarios, a comparison with traditional ECS/containers, quick-start steps, and complete code examples for both ArkTS HTTP requests and FunctionGraph functions.

0 likes · 11 min read
HarmonyOS ArkTS & Huawei Cloud FunctionGraph: Edge-Cloud Collaboration Implementation
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Feb 25, 2026 · Mobile Development

Mastering HarmonyOS Concurrency: TaskPool, Worker & TaskGroup in AI Photo App

Through an AI ID photo tool case study, this article demonstrates HarmonyOS concurrency patterns: TaskPool for short preprocessing, Worker for long AI inference, TaskGroup for parallel batch generation, SequenceRunner for dependent tasks, SharedArrayBuffer for zero-copy sharing, Sendable for thread-safe singletons, and producer-consumer queues for real-time previews, with before/after performance metrics.

ConcurrencyHarmonyOSSendable
0 likes · 29 min read
Mastering HarmonyOS Concurrency: TaskPool, Worker & TaskGroup in AI Photo App
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Feb 12, 2026 · Mobile Development

HarmonyOS Face Detection Tutorial: Core Vision Kit Implementation with Reusable Code

This tutorial demonstrates how to implement face detection in HarmonyOS apps using Core Vision Kit, covering face position, landmarks, orientation, confidence scores, with complete ArkTS code examples, constraints, error handling, and privacy considerations for offline on-device processing.

ArkTSComputer VisionCore Vision Kit
0 likes · 16 min read
HarmonyOS Face Detection Tutorial: Core Vision Kit Implementation with Reusable Code
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Feb 6, 2026 · Information Security

HarmonyOS StarShield Security Architecture: From Level II Certification to Six-Layer Defense

This article analyzes HarmonyOS security architecture, detailing its Level II national certification, the six-layer StarShield defense model covering hardware TEE, microkernel isolation, dynamic permissions, distributed security, and a government migration case study with measurable security improvements.

Distributed SecurityDynamic PermissionsHarmonyOS
0 likes · 19 min read
HarmonyOS StarShield Security Architecture: From Level II Certification to Six-Layer Defense