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

13 min read

How Alipay Rebuilt Its ‘My Tab’ Using KMP for Seamless Three‑Platform Code

Alipay’s terminal team refactored the high‑traffic ‘My Tab’ feature into a single Kotlin Multiplatform codebase, tackling challenges like MVC‑to‑MVVM migration, frame‑rate drops, and cross‑platform stability, and sharing detailed design patterns, performance optimizations, and solutions for Android, iOS, and HarmonyOS.

20 min read

Why Kotlin Multiplatform & Compose Multiplatform Are Production‑Ready in 2026

From the Kotlin 2.0 language upgrade and the K2 compiler to a mature Jetpack multi‑platform library ecosystem, stable Compose for iOS and Web, and robust engineering tooling, Kotlin Multiplatform and Compose Multiplatform have evolved into a production‑grade, cross‑platform solution for mobile, desktop, and web by 2026.

11 min read

Why Flutter Text Gets Clipped Under Opacity/ShaderMask? Deep Dive into Skia Bounds Bug

The article explains a long‑standing Flutter bug where Text wrapped by Opacity or ShaderMask loses its descender glyphs on Android due to overly precise layer bounds calculated by Skia/FreeType, detailing how saveLayer, hinting, and glyph outline bounds interact, and offers practical workarounds to avoid the clipping.

19 min read

How Kotlin Multiplatform Turns One Codebase into Native Android & iOS Binaries

This article demystifies Kotlin Multiplatform’s compiler architecture, explaining how shared Kotlin code is transformed into platform‑specific binaries via a common intermediate representation, the roles of Kotlin/JVM and Kotlin/Native backends, expect/actual contracts, memory model evolution, and practical build and integration steps for Android and iOS.

4 min read

Hidden Mobile Testing Points You Probably Miss

This article outlines a comprehensive checklist of mobile testing items—including functional, conflict, performance, signal, low‑battery, compatibility, stress, field, stability, regular, user‑experience, and hardware tests—to help engineers ensure thorough coverage of a phone's quality and reliability.

12 min read

Building a WeChat-Style App with HarmonyOS 6: Tabs, Swiper & Custom Components

This tutorial walks through creating a WeChat-like interface on HarmonyOS 6, covering four main pages — Chat, Contacts, Discovery, and Me — using Tabs for bottom navigation, Swiper for swipe gestures, and reusable ArkTS components for lists, dividers, and tab bar styling.

12 min read

High-Performance Line Art Extraction in HarmonyOS: Algorithms & Optimization

This article details implementing a high-performance line art extraction feature in HarmonyOS using ArkTS, covering grayscale conversion, differential edge detection, efficient pixel buffer access, sketch and comic style rendering, and time-sliced chunk processing to prevent UI freezes on large images.

11 min read

How Agent Skills Turn AI Assistants into Consistent Android Development Partners

This article explains why AI coding assistants often ignore team conventions in large Android projects, introduces the concept of Agent Skills as versioned, shared‑memory skill packs that enforce architecture, state‑management, and offline‑first practices, and provides a step‑by‑step guide to integrate the open‑source Awesome Android Agent Skills library.

20 min read

HarmonyOS Number & Measurement Formatting Guide for Global Apps

This technical guide explores HarmonyOS number, currency, and measurement formatting for internationalized apps, covering Intl.NumberFormat parameters, notation styles, I18NUtil unit conversion, and solutions for locale mismatches, currency errors, conversion inaccuracies, mixed-language displays, performance bottlenecks, and backend compatibility.

19 min read

HarmonyOS 6: Building a Pocket-Sized Smart Elderly Care System with Distributed Capabilities

This case study details how HarmonyOS 6 distributed features — soft bus, atomic services, distributed data management, and task scheduling — were used to create a unified elderly care platform connecting seniors, families, caregivers, and doctors across devices and locations, with code examples and lessons on elderly-friendly design.

12 min read

Hisense Aijia's HarmonyOS Migration: ArkTS, Scan Kit, Cast Engine & Foldable UI

Hisense Aijia's smart home app migrated to HarmonyOS using ArkTS, integrating Scan Kit for robust QR scanning, Cast Engine for low-latency screen casting, responsive layouts for foldable devices, and Account Kit for simplified OAuth login, cutting launch time to 2 seconds with HarmonyOS team support.

43 min read

PromptTuner: Building a HarmonyOS 6 Prompt Assistant App - Technical Practices

This article shares the complete development journey of PromptTuner, a HarmonyOS 6 native app for prompt discovery, optimization, and management, covering architecture, ArkUI declarative UI patterns, state management, API abstraction, local analytics, privacy compliance, and performance optimization techniques with concrete code examples and metrics.