This article curates key front‑end and emerging tech topics—including Inversion of Control in JavaScript, the overload of JS frameworks, Facebook's iOS codebase evolution, GPT‑4's launch, prompt‑engineering automation, and nuanced UI control design—offering concise insights for modern developers.
The team evaluated cross‑platform options, piloted both Flutter and an H5 offline‑Hybrid approach, found Flutter’s self‑rendering engine delivered superior performance and consistency, and consequently adopted Flutter as the primary framework, dramatically improving development efficiency and UI parity across Android and iOS.
The article describes NetEase Cloud Music’s custom client‑side APM system that combats sliding stutter, heating, UI freezes and crashes by employing binary‑tree stack aggregation to halve storage, window‑based CPU analysis, run‑loop jank detection, ping‑based ANR monitoring, and malloc‑logger memory tracking with automated dump thresholds.
This tutorial explains how to set up the Kivy framework on macOS and Linux, write a simple Python hello‑world app, test the installation, install and configure Buildozer, and use it to package the app into an Android APK while addressing common build issues.
This article examines why Baidu's super‑app needed a drastic reduction in its iOS package size, outlines the metrics that link bundle size to download conversion, compares the app‑size footprints of major domestic and overseas apps, and details the multi‑layered technical solutions—resource trimming, architecture safeguards, compiler tweaks, image compression, and code slimming—that together saved over 50 MB while preserving functionality.
This article provides a comprehensive overview of Android image compression, covering bitmap fundamentals, ARGB color model, size calculations, quality and dimension compression methods, the Luban algorithm, its implementation details, performance considerations, and related JPEG Huffman coding techniques.
The article outlines the widget ecosystem’s evolution from static to dynamic widgets, detailing form factors, refresh methods, user and platform benefits, technical challenges of third‑party integration, the architecture of operation centers and data management, and future plans for AB testing.
This talk explains how Huawei Cloud’s digital travel mobile app evolved from native to hybrid development, evaluates frameworks like React Native, addresses performance and hot‑update challenges, and outlines practical solutions and future roadmaps for efficient, customizable enterprise travel solutions.
This article explains why UI motion effects are crucial for mobile apps, details the four main animation curves, shares practical techniques for maintaining animation consistency, recommends After Effects scripts for curve adjustment and batch keyframe copying, and outlines export formats and duration guidelines.
A recent State of React Native survey of over 1,800 developers reveals three major pain points—upgrade difficulty, debugging challenges, and performance issues—while highlighting SwiftUI and Jetpack Compose as the most favored alternatives and offering insights into emerging state‑management libraries.
This article explains how Android developers can use the new Jetpack CameraViewfinder component to implement reliable, resizable camera previews across diverse device form factors—including foldables and multi‑window modes—by adding the library, configuring layout XML, and handling surface requests with concise Kotlin code examples.
This article examines the limitations of traditional app release cycles, compares existing Flutter dynamic‑update frameworks, and provides a comprehensive step‑by‑step tutorial—including tool installation, project creation, code generation, hot‑update service launch, syntax‑checking plugin usage, and deployment pitfalls—for adopting the Fair framework to achieve seamless, incremental updates in mobile applications.
The project replaces costly Google Dynamic Maps with a hybrid solution that overlays a transparent WebView on a native map component, using a JSBridge to route H5 events and native map interactions, dynamically managing hot‑zone data, thereby cutting service fees, boosting performance, and preserving H5 development flexibility.
The article explains how to monitor, locate, and remediate Android ANRs by installing a LooperPrinter‑based timeout detector, extending coverage to IdleHandler and touch events, dumping and aggregating main‑thread stacks via Firebase Crashlytics, and showcases real‑world fixes that cut online ANRs by 73.8%.
This article introduces the wrn-echarts project, detailing its background, feasibility analysis, architecture, implementation of SVG and Skia rendering modes, touch‑event handling, solved issues, usage steps, performance comparison with react-native-echarts-pro, conclusions, and future plans.
This article provides a comprehensive overview of Flutter, covering why to learn it, the architecture layers, widget fundamentals with code examples, Dart language basics, GetX state management, common development pitfalls and solutions, as well as performance optimization techniques for building efficient cross‑platform mobile applications.
This article shares practical techniques for adapting Android apps to overseas markets, covering modular code design, compliance checks, AAB bundle creation, Google Play signing, manifest adjustments, and automated multi‑language workflows to streamline global publishing.
This article explains Apple’s newly introduced unlisted app distribution method, compares it with App Store and enterprise distribution, outlines its key characteristics, and provides a detailed step-by-step process for creating, submitting, and requesting an unlisted app link for limited‑audience iOS applications.
Apple has open‑sourced a new Swift‑written Foundation framework that replaces the Objective‑C based version, promising lower conversion overhead, improved performance, and new packages like Foundation Essentials, Internationalization, and ObjC Compatibility, while the community reacts positively and discusses future cross‑platform implications.
This article curates the ten most-read technical posts from NetEase Yanxuan in 2022, covering DDD adoption, reverse transaction systems, availability metrics, documentation practices, inventory locking, performance optimization, stability governance, H5 containerization, 2B architecture, and the evolution of the Yanxuan app’s engineering architecture.
The article examines the unique QA and testing challenges of Taobao’s Mini Program game ecosystem—such as incomplete container tools, lacking engine standards, and diverse usage patterns—and proposes solutions including a dedicated testing infrastructure, performance standards, automated integration, proactive monitoring, fault simulation, and future enhancements.
This article explains the transition from StoreKit 1 to StoreKit 2 for iOS in‑app purchases, detailing the limitations of applicationUsername, the new appAccountToken mechanism, updated purchase and order‑recovery flows, enhanced notification handling, and references to Apple’s server APIs.
This article details a method to improve detection and decoding of small QR codes in iOS image previews by combining OpenCV‑based detection with AVFoundation‑based recognition, describing multi‑stage image preprocessing, region‑specific scaling, and code snippets that illustrate the implementation.
This article explains why and how to upgrade a production iOS app from StoreKit 1 to StoreKit 2, outlines the new purchase flow, compares the two APIs, shares real‑world issues encountered during migration, and provides Swift code snippets and work‑arounds for each challenge.
This article explains Android's Alarm mechanism, covering its overall architecture, the four alarm types, framework and kernel workflows, batch alignment, wake‑up handling, suspend processing, and a real‑world power‑debugging case to help developers optimize battery consumption.
This guide explains how to set up ADB and Python libraries, enable USB debugging, and write Python scripts that control an Android phone to perform actions such as taking selfies, searching for word definitions, and capturing screenshots, providing a practical introduction to mobile automation.
This article explains Android's client/server architecture, detailing how public manager APIs act as client stubs, how system services are implemented and registered using AIDL, ServiceManager, and SystemService, and discusses hidden APIs, boot phases, and the modular APEX system for updates.
This article outlines the background, technical analysis, and step‑by‑step practical migration of multiple Fluently Speaking Android applications to Android 12, covering environment upgrades, Gradle and JDK changes, CI/CD runner configuration, API adjustments, UI updates, and future outlook.
To cut Baidu APP Android’s live‑stream startup from over three seconds to about 1.3 seconds, engineers introduced fine‑grained monitoring, switched first‑entry to a lightweight level‑1 plugin, pre‑started the player, scattered initialization tasks, prioritized first‑frame delivery, and balanced plugin pre‑download with full‑load performance.
Google’s shift to Rust for Android development has dramatically cut memory‑safety bugs, dropping from 223 incidents in 2019 to 85 in 2022, and reducing the share of such vulnerabilities from 76% to 35%, highlighting Rust’s growing role in mobile security.
The article proposes a full‑stack H5 containerization framework for mobile apps that boosts user experience and development efficiency by pre‑heating WebViews, using offline packages and parallel data loading to cut load times, adding comprehensive performance monitoring, a modular native‑plugin system, and a configuration‑driven shell‑container factory that frees frontend teams from mobile‑team dependence.
This article explains what SIGKILL crashes are on iOS, how the operating system terminates a process, how to capture SIGKILL events using the MetricKit framework with code examples, the meaning of common termination codes, and practical fixes for typical SIGKILL scenarios in mobile apps.
Join the Infra Talk session where PhD researcher Xiaoyu Sun reveals how Android security and compatibility defects arise, demonstrates static and dynamic analysis techniques, and showcases open‑source tools for detecting privacy leaks and framework incompatibilities, while outlining future research directions.
This chapter demonstrates how to open external web links in the iOS browser using SwiftUI's Link view, and provides a comprehensive guide to local data persistence by employing FileManager with property list files and the CoreData framework for storing, loading, editing, and deleting model data within a SwiftUI app.
This article analyzes Haro’s end‑to‑end “Lego” system, detailing its background, the multi‑team collaboration challenges of core app pages, the modular architecture spanning product‑ops backend, configurable aggregation services, and a mobile container framework, and the resulting efficiency and stability gains.
This article introduces Android's AccessibilityService, explains its fundamentals, shows how to create, register, and configure the service, demonstrates common techniques such as node searching and interaction, and provides a complete Kotlin example that automatically logs into WeChat on Windows/Mac.
The article explains how to implement a red‑dot badge system in the “玩心部落” mobile app using a tree‑structured RedPoint hierarchy combined with the Observer pattern, where each node tracks its count, notifies UI observers, propagates updates to parent nodes, and is managed centrally by a HeadRedPoint singleton for easy extension.
This article details Baidu's multi‑step memory‑control solution for its iOS app, covering background challenges, real‑time memory monitoring, page‑level memory prediction, water‑level determination, frequency control, proactive degradation, and code examples that together reduce OOM incidents on low‑end devices.
This article details NetEase Yanxuan's Android team transition to a component‑based architecture, identifies inherent problems such as version control, quality assurance, semantic versioning and binary compatibility, and presents the YAC engineering solution—including standardized processes, Gradle plugins, CI/CD pipelines, and tooling—to streamline component development and improve productivity.
This article walks through the design and implementation of an edit screen for the LinkWorld iOS app, showing how to refactor shared UI parts into reusable SwiftUI components, bind them to a data model, and handle navigation, modal presentation, and update logic using a view‑model.
This article explains how managing complexity by layering responsibilities and introducing an MVP architecture separates UI rendering from business logic in Android search features, illustrating the problems of high coupling and low cohesion with concrete Kotlin code examples and discussing AB testing and decorator patterns.
Meta’s recent blog reveals its large‑scale migration of Android apps from Java to Kotlin, highlighting Kotlin’s advantages, the challenges of mixed codebases, tooling updates, and the strategic decision to convert most of its 10 million‑line codebase, offering valuable lessons for mobile developers.
This tutorial walks through designing and implementing an "Add Identity Card" screen in a SwiftUI iOS app, covering UI element priority, state variable declarations, custom platform selector with LazyVGrid, multiline link input, and data binding to persist new cards.
This tutorial walks through the design and implementation of a SwiftUI‑based electronic business‑card app called Linkworld, covering project background, MVP analysis, component creation, variable declarations, layout containers (HStack, VStack, ZStack), and previewing multiple cards with full code examples.
This tutorial walks through creating a SwiftUI iOS app called Digital Woodfish, covering project setup, asset import, UI layout with Image, navigation titles, state handling, tap gestures, animations, and dynamic text updates to simulate a click‑to‑count wooden fish experience.
This article demonstrates how to build a custom Android TextView that supports clickable topic spans, URL interception, and smooth expand‑collapse behavior using StaticLayout measurements, custom ButtonSpan labels, and optional height‑animation, providing a reusable solution for rich mobile text displays.
This article explains how the automotive app team tackled severe scrolling lag on low‑end Android devices by replacing the default FlatList with a reusable RecyclerListView implementation, detailing rendering principles, layout calculations, height estimation techniques, and the resulting performance gains.
This tutorial walks you through using Dart's foreign function interface (FFI) in Flutter, showing how to create a macOS plugin project, generate bindings with ffigen, call native C/C++ functions, handle callbacks and asynchronous threads, and integrate message passing between Dart isolates and native code.
This article reviews three approaches to obtain the Android soft‑keyboard height—using ViewTreeObserver, a hidden PopupWindow, and WindowInsets—compares their pros and cons, shows complete Kotlin/Java implementations, and demonstrates how to attach UI elements to the keyboard for a smoother user experience.
Meta’s recent shift of its Android apps from Java to Kotlin reveals both the compelling benefits—such as null‑safety, concise code, and functional features—and the practical challenges like mixed codebases, tooling gaps, and longer build times, offering a detailed roadmap for large‑scale mobile language migration.
At 40, the author transitioned from a management role to Android development, sharing the challenges, learning strategies, and eventual success that prove it’s never too late to start a software development career.
This article explains iOS memory architecture, the reasons behind Out‑of‑Memory (OOM) crashes, common sources of memory pressure, and practical approaches—including MLeaksFinder and FBRetainCycleDetector—to monitor, detect, and mitigate memory leaks and abnormal memory growth in iOS applications.
GaiaX is a cross‑platform template engine created for Alibaba’s Youku ecosystem that tackles multi‑terminal UI development bottlenecks by using a custom DSL with native rendering, offering high performance, dynamic updates, reusable components, containerized solutions, and integrated preview and design‑to‑code tools.
The article dissects Bilibili’s live‑room architecture, showing how dozens of independent MVVM‑based Views act as business units, explains the coupling problems caused by improper LiveData and cross‑ViewModel references, outlines a service‑driven data‑flow and zone‑based lifecycle model, and proposes systematic refactoring to reduce technical debt and foster shared architectural ownership.
A 2022 research study by Google’s Flutter UX team reveals that while Android Studio was once the dominant IDE for Flutter development, VS Code has rapidly gained popularity due to its speed, lightweight nature, and better perceived support, with many developers now favoring it across various regions and use cases.
This article outlines the evolving trends in terminal devices and software architecture, argues for unified cross‑platform containers, proposes a streamlined organizational model with fewer, more versatile roles, and introduces the KUN project—a high‑performance, extensible Flutter‑based rendering engine aimed at boosting mobile development efficiency.
Google’s quirky Gboard Bar transforms a standard QWERTY keyboard into a 1.65‑meter single‑row device that stretches users’ arms, offers playful functionalities, and is fully open‑sourced on GitHub, inviting developers to explore its design, schematics, and firmware.
The B‑Cut video‑editing app was transformed from a monolithic single‑project codebase into a component‑based modular architecture—introducing clear layers, Gradle‑driven unified configuration, independent library/application modules, strict dependency and resource conventions, and a fast‑compile system—thereby cutting build times, eliminating merge conflicts, and enabling reusable components across teams.
The article explains the urgency of cross‑platform dynamic development for mobile apps, compares native and React Native approaches, details the role of JavaScript engines like V8 and JSI, and provides basic React Native code examples for building and styling components.
This article provides a detailed introduction to Android Debug Bridge (ADB), covering its concepts, architecture, environment setup, common issues, command syntax, and practical automation examples using both shell scripts and Python, enabling developers to control devices, perform UI actions, and schedule tasks efficiently.
This article explains why app package size matters for download conversion and uninstall rates, presents business value data, and details a comprehensive set of iOS app slimming techniques—including component, resource, and compilation optimizations, code removal, and anti‑regression mechanisms—along with practical ROI analysis and implementation steps.
This article details the design and implementation of an immersive complex interactive page using Flutter, covering architecture design, sliding effects, and tab synchronization for a new energy vehicle series app.
State management in Flutter involves understanding different state types—ephemeral and application—using stateful and stateless widgets, and selecting appropriate frameworks such as Provider, Redux, GetX, and others, each with distinct advantages, drawbacks, and usage patterns to efficiently handle UI updates and data sharing across components.
The workflow extracts PAD assets from an AAB, builds a universal APK with bundletool, runs the legacy APK split pipeline, then reassembles a new AAB by merging the split base module with the saved PAD zip, preserving Play Asset Delivery for Google Play compliance.
Xiaohongshu refactored Android’s AsyncLayoutInflater by introducing a configurable thread‑pool, safe object pools, and a singleton ViewCache, eliminating ArrayMap and LayoutInflater lock issues, which together yielded over 20% faster cold‑starts and page loads, demonstrating significant performance and business benefits.
The article details JD's extensive effort to adapt its massive e‑commerce app to OpenHarmony, analyzing business diversity, a multi‑layered technology stack, the cross‑platform Aotu Taro solution, the native JD MCube dynamic framework, UI‑framework comparisons, implementation steps, results, and future plans.
This guide explains how to install and use Perfetto, Android’s next‑generation tracing tool, covering trace capture via command line or Traceur, UI navigation, key trace elements, and practical SQL queries for analyzing slices, counters, scheduling, thread states, and lock contention to optimize performance.
This article details a five‑month performance project that reduced the heart‑beat app’s average launch time from over eight seconds to around four seconds by dissecting cold‑start phases, optimizing Application initialization, streamlining the launch chain, and applying home‑page, lock, and monitoring strategies.
This article explains Baidu App's immersive video design, detailing how maximizing screen real‑estate, optimal placement, and continuous viewing interactions such as window squeezing and floating mini‑windows create a focused, distraction‑free experience across diverse mobile devices.
This article details the design and implementation of a custom nested scrolling layout for the Lofter 7.1.0 personal homepage, covering the selection of Android coordinator components, the underlying NestedScrolling mechanism, step‑by‑step integration, code analysis, inertia handling, and animation management.
This article explains how Baidu's performance team tackled the slowdown of mobile internet growth by defining low‑end devices, building observability, creating high‑efficiency tooling, redesigning key components such as KV storage and locks, and introducing a smart scheduling framework that together reduced Android cold‑start TTI by over 50% and iOS cold‑start TTI by more than 40%, while establishing a continuous anti‑degradation pipeline.
This article introduces a novel Flutter state‑refresh technique that leverages Dart extension properties to implement an observer pattern, compares it with the traditional Provider/ChangeNotifier approach, and demonstrates a more granular, flexible solution called TosObWidget with complete code examples and performance analysis.
The article predicts smartphones will dominate traffic for the next three years, argues that cross‑device frameworks like ReactNative, Weex and Flutter are essential, and proposes a streamlined R&D model at Xianyu with full‑stack mobile engineers and infrastructure engineers supported by a unified container, programming plane, workflow, and the high‑performance, W3C‑compliant KUN rendering engine to boost iteration speed, consistency, and talent efficiency.
This article explains the background, principles, and implementation steps for using Android's drawFunctor to inject custom OpenGL rendering into the RenderThread, including C++ and Java code, handling state preservation, view transformations, context loss, and performance benefits demonstrated by memory and CPU usage comparisons.
The Shadow framework, developed by Tencent, is an open‑source Android plugin solution that reuses independent app source code, employs zero‑reflection dynamic loading, minimizes host footprint, and provides detailed module architecture, component support, Flutter integration, and isolation mechanisms for stable, dynamic plugin development.
This article presents JD's comprehensive technical analysis and implementation experience of adapting its JD MCube native dynamic framework and the cross‑platform Aotu Taro solution to the OpenHarmony ecosystem, covering business complexity, technology stack diversity, UI paradigm comparisons, concrete integration steps, results, and future plans.
This article details Baidu's multi‑step Android APK resource‑size reduction strategy, covering the structure of APK resources, built‑in AAPT2 optimizations, custom path and filename shortening, resource‑name collapsing, sparse entry encoding, image compression, duplicate‑resource handling, and the impact of AAB and Jetpack Compose on overall package size.
This article details a comprehensive, step‑by‑step approach to reducing Android APK size—including library pruning, resource compression, class file optimization, and automated monitoring—to keep app packages lightweight and prevent size regression over successive releases.
This guide walks through creating an Android e‑commerce live‑streaming app using Java and the Zego real‑time audio‑video SDK, covering SDK integration, room creation, token generation, stream publishing and playback, and essential security considerations, with code snippets and practical implementation steps.
MemoryThrashing is a self-developed tool designed to detect and analyze memory thrashing issues in live streaming applications, addressing the challenges of OOM problems by providing efficient memory growth monitoring and analysis capabilities.
The article outlines the most influential mobile app development trends for 2022‑2023, including 5G adoption, AI and machine learning, AR/VR, blockchain, mobile commerce, progressive web apps, instant apps, beacon technology, and wearables, highlighting how each technology reshapes performance, user experience, and business opportunities.
A middle‑aged Android developer recounts breaking his child's "Niu Ting Ting" device, then details how he recreated its functionality by integrating OpenCV‑based paper detection, OCR, and TTS into a mobile app, complete with code snippets and performance results.
This tutorial explains how to set up ADB and the pure‑python‑adb library, enable USB debugging, and write Python scripts that control an Android phone to perform actions such as taking selfies, searching for word definitions, and capturing screenshots, providing a practical introduction to mobile automation.
The 2022 mobile app development landscape is shaped by rapid advances such as 5G, foldable devices, AR/VR, AI, blockchain, predictive analytics, IoT support, and evolving user expectations, making it essential for developers to adopt these trends to create fast, secure, and innovative applications that stand out in a crowded market.
This article shares Trip.com’s practical experience with HarmonyOS development, covering the system’s distributed architecture, supported languages, service‑card design, native‑WebView integration, configuration files, testing, signing, and future outlook for cross‑device mobile applications.
This article explains the fundamental concepts of Window, Insets, and WindowInsets in Android, describes the different inset types, demonstrates how to retrieve and apply them with modern AndroidX APIs, and provides practical Kotlin code examples for handling system UI elements such as status bars, navigation bars, and the soft keyboard.
A low‑overhead monitoring solution for iOS apps resets the global malloc_logger to capture every allocation, filters large allocations exceeding a configurable threshold, records lightweight stack traces using dyld image maps, and sends address‑only data for offline symbolication, enabling developers to identify and fix memory‑heavy code, reducing OOM crashes.
This article details how Ctrip's hotel team used Flutter to improve app performance over two years by monitoring FPS, TTI, memory, applying widget‑tree optimizations, lazy loading, frame rendering, service‑channel enhancements with Protobuf, and systematic memory‑leak detection and mitigation.
This article details Huolala's self‑developed H5 offline‑package SDK for iOS, explaining its safe, maintainable architecture, implementation steps, performance optimizations, reliability mechanisms, and measurable benefits such as halving page load time and achieving 100% load success rate.
The article introduces Fair 2.5.0—a Flutter‑based dynamic framework—detailing its project overview, GitHub link, version features such as Flutter 2.8.x adaptation, Dart2JS singleton support and new syntax‑sugar APIs, demo improvements, code examples, roadmap, quick‑start instructions, resources and contribution information.
The Taobao Scan feature was refactored by applying the Responsibility‑Chain, State, and Proxy design patterns, separating view and logic layers, introducing a fluent pipeline API, modular state handling, and a global proxy, which together dramatically improved code maintainability, extensibility, testability, and reduced development risk.
The Notkia project repurposes a Nokia 168x handset with a custom Linux‑based PCB, offering LoRa, Wi‑Fi, Bluetooth, GPS, and a full Debian desktop, while detailing hardware specs, software plans, and the motivation behind creating a privacy‑focused, single‑handed mobile device.
This article details the architecture, challenges, performance metrics, and optimization strategies behind Ant Group's AR "Five Blessings" project, showcasing how the Paladin interactive engine enabled cross‑platform AR experiences on mobile devices.
This article examines the four popular cross‑platform technologies—Flutter, React Native, Weex, and H5—by detailing their architectural layers, compilation models, rendering pipelines, typical performance bottlenecks, and practical optimization techniques, and offers guidance on selecting the most suitable stack for a given project.
This article explores the practical challenges of using MVC and related architectural patterns, compares implementations from Microsoft, Apple, and industry experts, discusses controller bloat and view‑model relationships, and proposes solutions such as view‑to‑model factories, multi‑controller designs, and MVVM adoption to improve testability and maintainability.
This article explains the official Flutter Deferred Components implementation, explores its limitations in China, and provides a step‑by‑step custom solution with code examples that enables dynamic Dart code delivery without relying on Google Play, complete with local verification instructions.
Bilibili migrated its iOS codebase from a fragmented polyrepo to a unified monorepo and adopted Google‑backed Bazel, enabling clear BUILD files, atomic commits, fast parallel and cached builds, reliable dependency resolution, easy Xcode integration via Tulsi, and extensible custom rules for scalable, maintainable development.
The 2021‑2022 DX updates introduce the RecyclerLayout container, a native‑based list component with configurable styles, pull‑to‑refresh and pagination that can be altered via XML without native releases, and an JSON‑driven event chain protocol enabling sequential or asynchronous actions, visual IDE debugging, full‑link tracing, and real‑time monitoring, collectively delivering over 30% faster release cycles and 15% quicker server responses across multiple Taobao and Alibaba apps.