Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Mobile Development

9 min read

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.

18 min read

Why Your Android App Is Slow: Uncovering Hidden Network Bottlenecks with RUM

This article explains how mobile network diversity, device fragmentation, and limited visibility make performance troubleshooting hard, then introduces Alibaba Cloud RUM's Resource event model, walks through its attribute and metric fields, demonstrates a real‑world Android case study with step‑by‑step timing analysis, and provides concrete diagnosis and optimization guidelines for connection‑pool, DNS, SSL, and TTFB issues.

10 min read

How We Cut React Native Cold Start from 1.78 s to 0.8 s: A Four‑Step Optimization Journey

This article details a systematic four‑phase optimization of React Native page startup—preloading resources, advancing initialization, reusing and pre‑creating containers—that shrank cold start time by 55 % (1.78 s → 0.80 s) and hot start time by 70 % (1.10 s → 0.33 s), while exposing the new pitfalls introduced by container reuse.

6 min read

HarmonyOS Live Streaming: End-to-End Capture, Encoding & Sync Best Practices

Huawei's HarmonyOS best practice document details full-chain live streaming development: publisher-side audio/video capture with OHAudio, SDR/HDR Vivid video options, Surface-mode encoding, ROI region-of-interest coding, and system-pressure feedback for dynamic bitrate control; viewer-side AVPlayer playback, timestamp-based A/V sync, and memory-leak prevention; plus scenario-specific guidance for e-commerce, entertainment, and outdoor streams.

25 min read

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.

13 min read

How Xiaohongshu Delivered Billion‑User Voice & Fireworks Effects with Adaptive Rendering

During the 2026 Chinese New Year, Xiaohongshu built a real‑time dynamic interaction system that combined adaptive scheduling, high‑performance particle rendering, and industrial‑grade ASR to deliver synchronized voice greetings and emoji fireworks to over a billion daily active users across heterogeneous mobile devices.

15 min read

When AI Hurts Mobile Apps: Practical Lessons on Performance, UX, and Pragmatic Design

The article examines how careless AI integration can degrade mobile app performance, cause overheating, battery drain, and poor user experience, and proposes a systematic, user‑centric approach—including device fragmentation awareness, lightweight models, graceful degradation, and edge‑cloud collaboration—to ensure AI adds value rather than harm.

15 min read

How to Integrate AI into Mobile Apps Without Sacrificing User Experience

This article examines the practical challenges of adding AI features to mobile clients, highlighting device fragmentation, performance trade‑offs, user pain points, and a layered approach that balances lightweight models, graceful degradation, and edge‑cloud collaboration to keep the experience smooth for the majority of users.

7 min read

HarmonyOS Compilation Optimization: Config Tweaks That Cut Build Time from 24 to 14 Minutes

This article details practical HarmonyOS compilation optimizations — unified lockfiles, boosted extraction, disabled JS intermediate output, and skipped lib compression — that reduced full builds from 24 to 14 minutes and incremental builds from 4 to 2.5 minutes on a 3-million-line ArkTS codebase.

29 min read

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.

16 min read

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.

16 min read

How Vivo Game Center Boosted Weak‑Network Performance with QUIC and Cronet

This article details how the Vivo Game Center team tackled slow page loads and resource failures in weak‑network environments by integrating the QUIC‑enabled Cronet library into OkHttp, defining precise network states, using custom interceptors, and conducting A/B tests that reduced failure rates by 40% and cut request latency by 7%.