The 2025 Bugly HarmonyOS Quality Report analyzes system version adoption, device distribution, crash and freeze rates across industries, identifies top stability issues such as memory leaks and main‑thread blocking, and offers concrete optimization recommendations for developers seeking better app performance.
This guide shows how to install and configure Termux on an Android device to create a full‑featured Linux development environment, covering package sources, essential tools, Git workflow, Python, Jupyter, SSH, editors, Termux:API, Zsh, tmux, and common troubleshooting steps.
Even with 7000‑10000 mAh batteries, many Android users still face rapid drain because background apps misuse WakeLock, and Google’s upcoming policy will penalize excessive power usage by defining clear thresholds and enforcing warning labels on offending apps.
This article explains why iOS apps experience UI lag, outlines common causes such as heavy UI rendering and synchronous network calls, compares three mainstream lag‑monitoring approaches (Ping thread, FPS, RunLoop), and details a RunLoop‑based solution that captures precise stack traces with minimal performance overhead.
This article explains two Android Canvas spray‑effect techniques—one using Gaussian blur and another using fog‑image masks—detailing their challenges, implementation steps, full source code, performance trade‑offs, and tips for fixing density issues.
Journey Test introduces Gemini AI to Android UI testing, letting developers write test steps in natural language that are automatically converted into executable test cases, with a complete workflow from file creation to execution, tips for efficient authoring, current limitations, and suitable use cases.
The article examines ByteDance's open‑source Lynx.js as a new way to run Vue directly on iOS and Android, compares it with existing Vue‑native solutions like NativeScript‑Vue, Ionic Vue + Capacitor and uni‑app/uni‑appx, and offers guidance on choosing the right approach based on performance, development experience and project urgency.
This guide walks through the main ways to embed AI in iOS apps—cloud services, local Core ML models, and hybrid approaches—detailing Core ML fundamentals, code examples for voice activity detection, UI highlighting, NLP chatbots, and performance‑and‑privacy optimizations.
Mobile developers often struggle with unreproducible crashes and lag reported by users, spending days sifting through logs and isolated stack traces; this article explains how a cloud‑native iOS SDK links performance metrics, error logs, and user behavior through systematic data collection to dramatically speed up issue diagnosis.
This guide details how to secure HarmonyOS app network connections by configuring trusted CA certificates for server validation, disabling user-installed CAs to prevent MITM attacks, and implementing SSL pinning for high-security applications like banking.
Journey Test, an AI‑powered feature in Android Studio, lets developers create end‑to‑end UI tests using natural language, eliminating code‑heavy scripts, adapting to UI changes, and integrating with CI pipelines, thereby combining manual testing flexibility with automated scalability for Android apps.
This guide walks you through every stage of registering, authenticating, and filing a WeChat Mini Program for an enterprise, covering account setup, verification methods, certification fees, filing documentation, MIIT SMS verification, and common pitfalls to avoid.
The article explains the architecture, data collection methods, and crash monitoring techniques of Alibaba Cloud's RUM SDK for iOS, detailing session tracing, performance metrics, Method Swizzling, system event handling, and KSCrash integration to improve issue diagnosis.
This article explains the challenges of Android ecosystem fragmentation, the invisibility of runtime crashes and performance issues, and how a Real User Monitoring (RUM) SDK can collect comprehensive stability, performance, and user‑behavior data through native signal handling, bytecode instrumentation, and standard Android APIs to help developers quickly locate and resolve problems.
Learn how to rapidly create a full-featured AI-driven Flutter mobile application that generates and edits 3D figurine images using Qoder's code generation, Alibaba Cloud ADB Supabase for backend-as-a-service, and the Qwen Image Edit model, all without building a traditional backend.
This guide covers HarmonyOS AVScreenCapture for screen recording, detailing features like hardware-accelerated H.264/H.265 encoding, dual audio tracks, full-screen and region capture, plus complete ArkTS and C++ NDK code examples with configuration parameters and development workflows.
This article explores the technical architecture of Android dynamic photos, detailing the three‑layer file structure, XMP metadata specifications, and differences among Xiaomi Micro Video, Google Motion Photo, and OPPO O Live Photo, and provides a unified Kotlin solution for detection, parsing, and playback.
Huawei's new Mate XTs triple-fold device introduces three form factors, free multi-window mode, and stylus support; the official best-practices guide details responsive layout adaptation, window-mode handling, and Pen Kit integration for developers.
This article explains how Bugly leverages the open‑source Xlog kernel to overcome HarmonyOS native logging limitations, offering a comprehensive, cross‑platform log engine, diagnostic fetch module, and practical scenarios that boost issue diagnosis, dynamic log control, privacy, and developer productivity.
This article explains how to implement dialog routing in HarmonyOS using the Navigation component's Dialog mode, contrasting Standard and Dialog NavDestination modes, and provides a complete shopping cart example with ArkTS code demonstrating persistent, non-blocking dialogs with transition effects.
The August 30, 2025 “Youth Coding·HarmonyOS Summer” event in Xiamen featured Jia Ding’s deep dive into Sohu News’ HarmonyOS meta‑service, revealing three key technical breakthroughs—dynamic list loading, MVVM‑based detail pages, and skeleton‑screen stability—while outlining future ecosystem integrations such as Push Kit and RAG.
This guide covers HarmonyOS AVRecorder's supported formats (AAC/MP3, H.264/H.265, MP4/M4A), provides step-by-step ArkTS and C++ NDK code examples for recording workflow, and outlines key development practices including state machine rules, resource cleanup, and permission handling.
This article explains how the ROMA cross‑platform framework supports dark mode on mobile apps, detailing configuration options, view‑mode attributes, color mapping, iOS trait protocols, and code examples for seamless theme switching, helping developers implement efficient dark‑mode adaptations.
This article examines the limitations of using BroadcastReceiver with AlarmManager for nightly data synchronization on Android, demonstrates how migrating to WorkManager improves reliability and battery efficiency, and provides code comparisons and guidance on choosing the right background execution tool for various scenarios.
Kuikly, Tencent’s Kotlin‑Multiplatform cross‑end framework, introduces native support for Apple’s iOS 26 Liquid Glass design, comparing self‑rendering and native‑rendering architectures, detailing adaptation strategies, API extensions, compatibility handling, and offering code examples to help developers integrate the new visual effect across platforms.
This article walks through Wear OS’s evolution, core advantages, competitor comparison, essential development principles, and provides hands‑on Compose code examples—including a food‑selector app and a ScalingLazyColumn todo list—to help developers build efficient, battery‑friendly smartwatch applications.
This article dissects the complete Android notification pipeline, explaining how a call to NotificationManager.notify() travels through Binder, system services, and SystemUI to finally render icons, notification rows, or heads‑up banners, while covering channels, permissions, and special edge cases.
Google’s latest updates—including the Compose Adaptive Layouts 1.2 beta, the AI‑powered Androidify app, and the Android Studio Narwhal Feature Drop—introduce advanced adaptive UI tools, Gemini‑driven image generation, and monthly IDE enhancements that empower Android developers to build responsive, multi‑device experiences faster.
This guide outlines twelve frequent mobile‑web problems—from 1 px borders and 300 ms click delays to safe‑area padding and image‑loading performance—and provides concise CSS or JavaScript solutions that developers can apply instantly to improve user experience across devices.
Users of China Mobile have reported that their phone status bars suddenly display promotional messages instead of the usual carrier name, a phenomenon tied to PLMN codes and NITZ broadcasts, with carrier‑mandated custom logos and messages raising compliance and user‑experience concerns across iOS and Android devices.
This article explains why caching is critical for modern Android apps and walks developers through eight robust caching strategies—ranging from in‑memory and SharedPreferences to file, Room, multi‑level, TTL, and HTTP caches—complete with Kotlin implementations, real‑world usage examples, pros and cons, and best‑practice guidelines for production.
This article details the two‑month end‑to‑end development of Alipay's AI Travel Assistant, describing the product concept, technical background, adoption of the xUI interaction framework, gRPC streaming, Kotlin Multiplatform integration, migration challenges, performance metrics, and future roadmap.
This article details the end‑to‑end development of Alipay’s AI Travel Assistant, covering product conception, the migration to a unified xUI 1.0 framework, the adoption of KMP for cross‑platform UI, the shift from RPC + SYNC to gRPC streaming, and the challenges of card‑ecosystem migration, all achieved within a two‑month sprint by a four‑person client team.
Google’s Android 16 QPR2 Beta 1, released in August, brings intelligent dark‑mode inversion, forced themed icon colors, parental‑control settings, improved data migration, PDF annotation, and Bluetooth LE audio sharing, with Pixel beta users receiving the update now and a full rollout slated for later this year.
This article presents eight essential caching strategies for Android developers—ranging from in‑memory LRU caches and SharedPreferences to file‑based storage, Room databases, multi‑level systems, TTL caches, and HTTP caching—complete with Kotlin implementations, real‑world examples, performance impacts, best‑practice guidelines, and common pitfalls to avoid.
The article summarizes Tencent's announcement and a podcast where the WeChat HarmonyOS team discusses why the app had to be rebuilt from scratch, the technical hurdles of Huawei's fast‑changing OS, and how the teams collaborate to overcome legacy code and platform differences.
This article walks through the ArkUI‑X cross‑platform framework, explains the relationship between ArkTS, ArkUI and ArkUI‑X, shows how to set up the development environment, create and build a demo project, and reveals the rendering pipeline and Android/iOS integration details including a clipboard example.
This article introduces ZHPluginSDK, a powerful Swift‑based plugin framework that supports type‑safe registration, flexible message dispatch, multi‑container composition, synchronous messaging, and environment variables, providing a comprehensive guide with architecture diagrams, feature lists, and extensive code examples for mobile developers.
This guide walks you through Apple’s Live Activity feature introduced at WWDC22, covering the required ActivityKit framework, project configuration for Objective‑C/Swift mixed or pure Swift apps, data modeling, creation, updating, ending, push‑token handling, server‑side push payloads, permission checks, and common pitfalls such as network‑image restrictions.
This article explains how a self‑calibration system embeds markers in iOS rich‑text content, enabling a single pass to identify mentions, topics, and links, and shows how NSMutableAttributedString and YYKit’s custom attribute keys are used to store and parse these special elements efficiently.
With the launch of HarmonyOS Next, the game live‑streaming SDK team leveraged the Kuikly cross‑platform framework to adapt their Android, iOS and web code to HarmonyOS, achieving 100% cross‑platform reuse across three platforms, cutting over 50% of development effort while boosting performance, stability and modularity.
This article walks through implementing sophisticated like-button animations for a news client on HarmonyOS using ArkUI, compares the approach with Android's animation framework, explains key ArkUI APIs like animateTo, and provides detailed Kotlin and TypeScript code for property and Bezier curve animations.
Google announced that it will combine Android and ChromeOS into a single platform, aiming to unify ecosystems, boost app performance, and create seamless cross‑device experiences, while facing architectural and user‑experience challenges that could reshape the future of personal computing.
This article explains how Android handles SVG-like vector graphics using VectorDrawable and AnimatedVectorDrawable, covering their XML structures, supported tags, code examples, conversion from SVG, usage in layouts, and a detailed source code walkthrough of rendering and animation processes.
This article analyzes a driver‑side iOS 18 crash triggered by BackBoardServices calling exit, explains the underlying XPC and C++ destructor chain, explores failed hook and compiler‑flag workarounds, and presents a reliable atexit‑based solution that eliminates the crash on iOS 18 and later.
This article introduces Apple’s Foundation Models framework for on‑device large language models, explains its advantages and limitations, details technical features like guided generation, snapshot streaming, and tool calling, and provides a complete Swift‑based travel‑itinerary example with performance‑tuning tips.
This article shares the JD developer’s experience at the 2025 Huawei Developer Conference, detailing how the Cangjie language and a dual‑thread architecture were used to analyze and optimize high‑frequency JS API calls in JD mini‑programs on HarmonyOS, achieving up to 50% faster execution and a 20% reduction in cold‑start time.
This article explains the architecture, core thread responsibilities, and performance enhancements of the Skyline rendering engine for WeChat Mini Programs, detailing version support, multi‑threaded design, custom routing, snapshot and lazy‑mount features, and provides practical code examples for developers.
This article details how the Youzan BumpTag team leveraged AI tools across mobile, backend, and frontend development to accelerate feature implementation, code generation, and testing, achieving efficiency gains of 60‑80% while sharing practical cases, pitfalls, and future AI‑driven skill development plans.
A former developer recounts joining a tiny startup, choosing uni‑app, egg.js, and antd‑vue to quickly build Android and iOS apps, navigating constant product changes, team hiring challenges, and later technical adjustments, and shares practical advice to avoid common pitfalls in early‑stage ventures.
This article details ZhiZhuan Group's end‑to‑end code‑coverage system for Android and iOS apps, covering its background, design, incremental instrumentation, CI/CD integration, optimization steps, visual reporting, and real‑world impact, offering practical insights for mobile development teams seeking reliable test coverage.
This article provides a concise side‑by‑side comparison of Flutter and Jetpack Compose, covering platform support, language, UI architecture, rendering pipelines, state management, custom UI/animation capabilities, development efficiency, deployment considerations, and ecosystem maturity to help developers choose the right declarative UI framework for their mobile projects.
This article delves into the technical implementation of iOS 26’s Liquid Glass effect, explaining its physics‑based translucency, adaptive coloring, refraction and fluid deformation, and then shows how to recreate it in Flutter using custom shaders, SDF calculations, lighting models, and the Impeller engine.
This article explains WeChat’s hidden “recover” feature, detailing its official purpose, technical limits, step‑by‑step recovery methods, effectiveness, backup strategies, and the risks of third‑party tools, helping users safely restore lost chat records.
This article explains the limitations of the original Jetpack Navigation library for Compose, introduces the new Nav3 architecture with its custom back‑stack, open design, and modular components, and demonstrates key features and a code sample for modern Android UI development.
Compose Multiplatform 1.8.0 brings a stable, production‑ready iOS version with performance comparable to native apps, concurrent rendering, Kotlin/Native compilation, Skia‑based UI, extensive iOS‑specific enhancements, hot‑reload support, and adoption by major teams, marking a significant milestone for cross‑platform mobile development.
Android 16 adds the AppFunctions API, letting apps expose specific functions through an AppFunctionService that the system indexes via AppSearch and invokes with AppFunctionManager, so AI assistants and system search can discover and execute actions like ordering pizza or booking flights while respecting required permissions and threading constraints.
The article explains how to adopt a single‑Activity architecture in Jetpack Compose by using the Navigation component’s NavHost and NavController, encapsulating navigation calls in an Action class, and exposing module‑specific NavGraphs, resulting in a clean, scalable routing solution for modern Android apps.
This guide explains how to enable and disable ADB debugging, manage app permissions via ADB commands, and implement device‑level and application‑level encryption to enhance security on Android devices.
This guide explains how to use Android Debug Bridge (ADB) commands to install and uninstall APKs, list installed packages, and start or stop applications on a connected device, providing essential tools for mobile developers and testers.
This guide explains essential ADB commands for Android development, covering how to reboot a device (including bootloader and recovery modes), view real‑time logs with logcat and its filtering options, and enter the device’s shell to run Linux commands such as ls, pwd, and top.
This guide explains what ADB (Android Debug Bridge) is, how to install JDK and the Android SDK, configure environment variables, enable USB debugging, and verify device connection using the adb devices command, providing a solid foundation for Android development and testing.
This article dissects ViewPager2's internal scrolling architecture, explains its core classes, orientation handling, PageTransformer workflow, scroll event processing, animation techniques, performance tweaks, and demonstrates how to recreate a complex advertising carousel with custom transformations and layout optimizations.
This guide explains how to use Android's Monkey tool with advanced options such as package whitelists and blacklists, event‑type weighting, crash ignoring, throttle settings, seed values, and integration with systrace to achieve more precise, efficient, and repeatable mobile app testing.
JD Finance’s self‑developed Dynamic solution offers a one‑code, cross‑platform framework that runs on iOS, Android, H5 and HarmonyOS, dramatically reducing development effort, improving performance and dynamic updates, while integrating features like high‑performance lists, hot‑reload, and unified APIs for seamless multi‑device deployment.
This tutorial explains what MonkeyRunner is, how to set up the environment, write Python scripts, connect to Android devices, install and launch apps, simulate user actions, capture screenshots, and clean up, providing a complete example script for automated mobile testing.
This guide explains the structure of Android Monkey test logs, highlights key information such as event counters and exception details, and provides practical solutions for common errors like ANR, crashes, OutOfMemoryError, and SecurityException, along with best practices for effective log analysis.
Google announced that starting March 2025 it will close the Android Open Source Project, moving development to private branches, limiting real‑time public contributions, narrowing the open‑source scope, and potentially reshaping the mobile OS ecosystem while having limited immediate impact on major OEMs.
Learn how to use Android's Monkey command-line tool to generate pseudo‑random user events for stress testing, covering basic syntax, key parameters like -p, -v, --throttle, and --pct-touch, and how to interpret the output to identify crashes and performance issues.
Google announced that starting next week it will cease maintenance of the Android Open Source Project, shifting all Android development to internal branches, which means only Google employees can access AOSP, limiting external developers and ROM creators while having limited impact on major OEMs.
This article introduces Monkey testing on Android, explaining its purpose, key characteristics, and how to set up the environment and run basic tests using ADB commands to improve app stability and automate stress testing.
This article chronicles the author's journey of creating a free, ad‑free music streaming app with Flutter, covering the initial motivation, learning curve, UI/UX design decisions, core features, chosen libraries, development challenges, and overall experience over two months.
Gaode Map’s new integrated container architecture, combined with on‑demand loading, package slimming, and multi‑system/device/language support, delivers ultra‑stable, high‑availability navigation with second‑level startup, halved binary size and traffic, enabling efficient, cross‑platform mobile mapping for diverse hardware.
This article explores the ArkUI‑X cross‑platform framework, detailing its relationship with ArkTS and ArkUI, step‑by‑step environment setup, project creation, the compilation pipeline that generates ViewPU classes, and the intricate bridge that connects ArkTS code to Android and iOS system services such as the clipboard.
This article demonstrates how a non‑programmer can use the DeepSeek‑powered “AI Programmer” mode in Tongyi Lingma to generate, modify, and deploy a functional WeChat mini‑program entirely through natural language prompts, complete with screenshots of each step.
This tutorial explains how to capture any Android view—whether displayed, off‑screen, or generated programmatically—into a Bitmap, draw it with Canvas, and then save or share the resulting image, covering multiple view types and Android version compatibility.
The tutorial walks developers through adding the new alpha‑stage viewfinder‑compose and camera‑compose libraries, configuring permissions with Accompanist, creating a CameraPreviewViewModel that manages CameraX preview use cases, and building a full‑screen, Compose‑based camera viewfinder using CameraXViewfinder for adaptive APIs and animations.
Wise’s 2025 tech stack overhaul details how its 850‑engineer team leverages cloud‑native tools like Kubernetes, Terraform, and AWS, modernizes frontend with Next.js and Storybook, accelerates mobile builds via Swift Package Manager and Gradle, and integrates AI, data pipelines, and observability to support 12.8 million active customers worldwide.
This article documents how the author leveraged the Trae AI‑powered IDE to quickly create a three‑page WeChat mini‑program, detailing project setup, code generation, interactive AI assistance, and the resulting development experience.
The article presents a hybrid native‑container/Weex 2.0 architecture for Taobao’s transaction terminal that tackles native development inefficiencies by using configuration‑driven modules for container, instance, data, resource, and logic management, achieving up to 70% latency reduction and outlining rollout and future optimization plans.
One‑click mobile number login streamlines user authentication by leveraging carrier‑provided phone number masks and tokens, eliminating passwords and verification codes; this article explains the underlying PPP‑based network principles, the multi‑stage token exchange flow, and integration considerations across China’s three major operators.
Soong, Google's declarative build system replacing Android.mk, offers faster incremental and parallel builds, structured dependency management via .bp Blueprint files, and seamless integration with legacy Make, providing Android developers with a scalable, efficient way to configure and compile system components.
This article outlines five common Android SDK development methods—Jar, SO, AAR, Dex‑plugin, and Apk‑installation—detailing their structures, integration steps, code examples, and best‑practice principles such as stability, minimal dependencies, small package size, optimal performance, compatibility, and dynamic updatability.
The article explains the principles of dependency injection, compares the DI frameworks Koin and Hilt in terms of integration difficulty, performance, cross‑platform support, IDE tooling, and maintenance, and concludes that Koin offers a simpler, lighter, and more versatile solution for Android and multiplatform projects.
This article explains how to configure AndroidManifest.xml for TV apps, use Focus and FocusableActionDetector to manage TabBar selection, handle remote control key events with KeyboardListener, and implement long‑press detection in Flutter for Android TV development.
This article compares the diff and UI update mechanisms of Flutter and Jetpack Compose, explaining Flutter's Element‑based linear reconciliation and Compose's Composer‑driven SlotTable with gap‑buffer diff, while illustrating each step with code snippets and diagrams.
Learn how to dramatically improve the speed and responsiveness of your WeChat Mini Program by applying twelve practical optimization strategies, including first‑screen loading, data preloading, image handling, setData reduction, event throttling, selector queries, component lifecycles, list rendering keys, caching, timers, IntersectionObserver, and network request management.
This article surveys the most promising development stacks for 2025—including MERN, MEVN, JAMstack, T3, Flutter, PERN, Python‑Django, DevOps, AI/ML, blockchain, Spring Boot + React, and Rust—explaining why each stack is worth learning, its key advantages, and the tools that make it powerful for modern developers.
This guide walks you through DevEco Studio 5.0.1's refactoring capabilities—renaming, safe deletion, and extracting methods, constants, interfaces, and variables—to streamline HarmonyOS app code, improve structure, and boost development efficiency.
This guide demonstrates how to use the ohos.request module in HarmonyOS NEXT API 12 to upload a local file through a custom proxy by creating a proxy agent, reading the file, configuring request options, and handling responses and errors.
This article provides a comprehensive introduction to Android NDK development, covering JNI fundamentals, data type mappings, method registration (static and dynamic), JNIEnv usage, CMake build configuration, and multiple practical code examples in Kotlin, C++, and C.
The article offers a comprehensive guide to iOS disk management for app developers, explaining the sandbox’s Documents, Library (Caches and Application Support) and tmp directories, proper storage practices, APIs for directory access, disk‑size calculation, iCloud backup exclusion, and both automatic and manual cleanup strategies including system cache handling.
This guide explains the WeChat Mini Program review workflow, lists the most frequent rejection reasons such as missing privacy policies, incomplete content, mismatched categories, and provides concrete steps—including code adjustments and documentation tips—to dramatically improve approval chances.
This article explains the HarmonyOS NEXT Background Tasks Kit, detailing its four task types—Transient, Continuous, Deferred, and Agent‑powered Reminder—along with their characteristics, typical use cases, and complete ArkTS code examples for each scenario.
This article explains the concept of "same‑frequency same‑frame" animation, analyzes the limitations of existing animation engines, and presents a Drawable‑based projection technique with code examples to synchronize animation frames across multiple Android views while reducing memory and CPU overhead.
This guide demonstrates how to strip splash-screen ads from an Android game by decompiling the APK, locating and altering the launch activity in AndroidManifest.xml, and recompiling the app, offering a practical reverse-engineering workflow for mobile developers.
This tutorial explores SwiftUI's transition mechanisms—including AnyTransition, the new Transition protocol, visualEffect modifiers, shader‑based effects, color gradients, text rendering, scroll‑based and navigation transitions—providing step‑by‑step code examples and practical guidance for creating impressive UI animations.
This guide explains the background of HarmonyOS NEXT, introduces Alibaba Cloud ARMS Real User Monitoring SDK for native HarmonyOS apps, details its page, resource, exception, and custom data collection features, and provides step‑by‑step integration instructions with code examples.