This article introduces Kotlin Multiplatform (KMP), explains its core concepts and advantages, walks through a simple demo project with code snippets and build configurations, and discusses the underlying compilation process, Compose UI sharing, ecosystem libraries, and real‑world industry adoption.
Google’s latest Android Studio release, Iguana, brings AI‑driven crash reporting, GitLab integration, enhanced Compose tools, and policy alerts, while the forthcoming Jellyfish preview adds a global Studio Bot and Gemini AI templates, expanding developer productivity across 180 countries.
This guide explains Android pluginization, showing how a host app can dynamically load separate APK modules—including native libraries, classes via a custom DexClassLoader, and mixed resources—while supporting hot updates, modular isolation, and reduced initial size, and details each loading step and manager implementation.
Using Qualcomm’s Adreno GPU as a case study, the article explains how the Linux devfreq framework enables GPU frequency scaling by creating a kgsl devfreq device and an msm‑adreno‑tz governor, detailing their initialization, event handling, target‑frequency computation, and the kernel callbacks that apply the new rates.
This article explores how generative AI is integrated into the AutoDev tool to add ArkTS language support, automatically generate ArkUI pages, and migrate existing Android, iOS, and mini‑program code to HarmonyOS, while discussing technical challenges and future improvements.
This guide walks you through configuring the OpenHarmony SDK, Java 11, and the signing tool on Linux, macOS, or Windows, building a custom Flutter engine, creating and building a HarmonyOS Flutter project, installing the signed .hap, and understanding the two development modes for three‑platform unification.
This article compares React Native and Flutter across programming language, community support, documentation quality, scalability, maintenance cost, and performance, helping developers choose the right cross‑platform framework based on project requirements, budget, timeline, and team expertise.
This article details the 18‑year‑old QQ Space's massive architecture overhaul, explaining why the legacy codebase became unsustainable, the guiding principles of progressive refactoring, the new Part‑and‑Section component model, performance optimizations, and the measurable improvements achieved after the rewrite.
This guide provides a step‑by‑step tutorial on configuring the development environment, installing Taro v4 beta, setting up the HarmonyOS project in DevEco Studio, and using Taro plugins and scripts to build, preview, and debug native HarmonyOS applications.
This article explains how the Android resources.arsc file is generated, identifies the problem of duplicate and uncompressed image resources in multi‑module projects, and presents a Gradle‑based solution that inserts a custom task after processReleaseResources to deduplicate resources, compress images using pngquant, guetzli and cwebp, and repack the .ap_ files, resulting in significant APK size reduction.
This article details how Xigua Video analyzed and optimized the startup of multiple Android subprocesses—including push, mini‑app, sandboxed, and exec processes—by applying on‑demand loading, SDK integration, and monitoring techniques, resulting in measurable performance and quality improvements.
From March 2024, Apple will roll out EU‑only rules that permit iOS sideloading, open browsers, default‑browser choice, and alternative stores and payments, while requiring sideloaded apps to pass Apple’s certification, and limiting the feature to verified EU users through Apple‑ID billing address, device region, type and location data, with a special detection check for mainland‑China models based on known iOS code and community guesses.
Apple announced a series of iOS, browser, App Store, alternative payment, and developer fee changes required by the EU Digital Markets Act, introducing new APIs, security safeguards, alternative app store options, and revised commission structures that will roll out with iOS 17.4 in the European Economic Area.
This guide provides a complete overview of HarmonyOS, its distributed architecture, development fundamentals, environment setup with DevEco Studio, ArkUI framework, code examples for UI, networking, data storage, permissions, state and thread management, testing, and publishing procedures for mobile developers.
The Tencent Video Search team migrated its search pages from Hippy 2.0 to Hippy 3.0, eliminating animation, image and style inconsistencies, adding a native horizontal‑scroll component, and applying engine pre‑loading, JSI calls and CSS optimizations that cut rendering time by up to 30 % and dramatically improved development efficiency and cross‑platform consistency.
This tutorial provides a step‑by‑step guide for setting up the HarmonyOS development environment, creating a Harmony project, and using Taro v4.0.0‑beta.x to build, preview, and debug your first HarmonyOS native application, including configuration details and common pitfalls.
This article describes a systematic approach to reducing mobile app package size by detecting oversized resources, scanning unused assets, enforcing size checkpoints during development, and integrating automated validation into the CI/CD pipeline, illustrated with tools, workflows, and results.
This guide explains how iOS 13’s UICollectionViewCompositionalLayout, together with Diffable Data Source, lets developers define items, groups, and sections using flexible size specifications, nested groups, orthogonal scrolling, custom and supplementary views, and background decorations to build complex, dynamic collection view layouts.
Developers targeting the Mac App Store must enable the mandatory App Sandbox and configure appropriate entitlements, privacy descriptions, and security‑scoped bookmarks to control file, hardware, network, and inter‑process access, while using App Groups, ATS, and supported IPC methods for secure, compliant macOS apps.
The article examines how companies like Jiumu Wang and Xikadegao use training and Tencent Cloud to boost performance, outlines three development approaches for a WeChat mini‑program store, and details the various user entry points such as search, nearby listings, QR codes, and third‑party platform features.
This article introduces MonkeyRunner, an Android automation tool, and demonstrates its use in basic operation testing, app installation and removal, UI interaction, and performance measurement with clear Python‑style code examples for each scenario.
EdgeUtils is an Android library built on androidx.core that simplifies edge‑to‑edge immersive UI by providing easy‑to‑use APIs, integration steps, code examples, visual‑conflict resolutions, gesture handling, and bug‑fixes for status‑bar, navigation‑bar, and toolbar adaptations.
The article details how the Tango framework creates a standardized, AST‑driven low‑code system for React Native by integrating cloud‑phone‑based real‑device preview, visual building tools, and unified runtime/component/data management to cut development costs, improve code reuse, and streamline cross‑platform mobile app creation.
The article explains embedded ROM updating terminology, compares factory‑level burner programming with board‑level online flashing, details the boot sequence and U‑Boot implementation, outlines security signatures, common USB‑related issues, and the evolution of flash storage, concluding that online flashing offers low‑cost, scalable, high‑speed production for smartphones.
This article introduces Huawei's upcoming HarmonyOS Next, explains the ArkUI framework with its declarative ArkTS and Web‑like development models, compares the two paradigms, and details how the Taro framework can bridge Web development practices to ArkTS for cross‑platform app creation.
The article explains Android jank, defines Google and PerfDog metrics, identifies direct and indirect causes, recommends profiling tools such as Systrace, Perfetto and APM, and details a Wesing case study where breaking tasks, lazy loading, view‑hierarchy reduction and thread off‑loading cut PerfDog jank by roughly half, concluding with a checklist for systematic detection and mitigation.
This article explains how to build a two-level comment system for an Android app by designing a comment database schema, creating DAO and repository layers, and using nested RecyclerViews with adapters to display primary comments and their replies, including code snippets and layout illustrations.
This case study details NetEase Cloud Music's migration from React Native 0.60 to 0.70, evaluating performance, bundle size, memory usage, and stability while describing the practical integration of Hermes, TurboModule, and Fabric and the automation that reduced upgrade effort across 100+ RN modules.
This tutorial walks through creating a complete HarmonyOS demo project without backend integration, covering project setup, constant files, login and registration pages, navigation tabs, home page components, search, list, refresh, and custom input components, all illustrated with code snippets and screenshots.
The Android Studio 2023.11 (Hedgehog) stable release brings performance and battery‑life enhancements, integrated Android Vitals in App Quality Insights, a new Power Profiler, an SDK Upgrade Assistant for Android 14 migration, and various UI and tooling improvements for developers.
This article explains the concept and core principles of Android Scoped Storage, compares traditional file‑path, MediaStore and SAF access methods, and provides detailed migration solutions for media and non‑media files, compatibility modes, and the special MANAGE_EXTERNAL_STORAGE permission.
This article explains how to apply custom fonts, enable AutoLink, and use justification mode in Android TextView, providing step‑by‑step code examples for assets and res/font resources, XML attributes, and runtime settings for developers.
This article introduces Huawei’s HarmonyOS, explains its all‑scenario, distributed architecture and key features, compares it with Android’s kernel and performance, discusses market and policy implications, and provides a step‑by‑step tutorial for setting up DevEco Studio and creating a first HarmonyOS app.
This article introduces APPAnalyze, an open‑source script that scans iOS .ipa binaries to automatically detect package‑size problems, generates detailed size reports, and provides configurable rules and fixes to help developers efficiently reduce app bundle size.
This tutorial shows how to create a SwiftUI bar chart, define a DataPoint model, and enhance its accessibility by conforming to AXChartDescriptorRepresentable and applying the accessibilityChartDescriptor modifier, enabling iOS 15’s Audio Charts feature that conveys chart values through pitch‑varying VoiceOver tones.
This article explores how PHP and Python can be combined to build scalable, efficient, and user‑friendly mobile applications, highlighting PHP’s strengths in backend services, Python’s cross‑platform capabilities, and strategies for integrating both languages to maximize performance, scalability, and development speed.
Airbnb’s three‑stage migration from its custom Epoxy/UIKit stack to SwiftUI involved extensive evaluation, rebuilding the design system with flexible style protocols, bridging UIKit and SwiftUI, adopting one‑way data flow, extensive testing and training, resulting in six‑fold code reduction, comparable performance, widespread production adoption, and higher developer productivity despite remaining framework challenges.
To begin developing HarmonyOS apps with Huawei DevEco Studio, download and install the IDE and required SDKs, configure Node.js and OHPM, verify the environment, create a new Stage‑model project using the Empty Ability template, explore the generated ArkTS directory structure, compare it to Android projects, and run the app on an emulator.
The multi‑container hot‑update framework designed for Bilibili’s game SDKs combines a dynamic routing protocol with plugin, dynamic‑template, and web containers, enabling rapid feature delivery, low‑cost gray‑rollouts across platforms, high installation success, and mitigated integration pitfalls, thereby improving stability and operational efficiency.
The article dissects Android’s logging system, detailing Java, native, and kernel interfaces, the liblog and logd daemon architecture, logcat usage, common log‑loss scenarios such as socket failures and buffer overflows, and the significant CPU, memory, I/O, and power resources the system consumes.
This guide walks developers through setting up Compose‑Multiplatform, implementing a Ktor‑based network layer, designing shared data models, building a LazyColumn UI, and explains Android rendering internals—from LayoutNode creation to Skiko drawing—while comparing the framework to Flutter and highlighting its low learning curve.
This article explains the startup process and lifecycle of WeChat mini programs, defines key performance measurement indicators such as launch time, first render time, and first screen load time, and provides detailed optimization techniques to address long startup, page load, and UI lag issues.
This article explains the required preparations, server configuration, and step-by-step PHP code to handle AR resource uploads, as well as the integration of WeChat Mini Program AR plugins and JavaScript calls, enabling developers to create AR experiences within Mini Programs.
The report details how targeted technical enhancements—refined encoding pipelines, playback logic tweaks, and start‑up caching—address mobile video challenges such as latency, stutter, and desynchronization, yielding up to 25 % less stutter, a 42.8 % drop in failures, and nearly 50 % faster first‑frame loading while outlining future testing and cross‑team optimization plans.
This guide explains how to set up the Kivy framework, write a simple Python app, install required dependencies on macOS, Linux, and CentOS, and use Buildozer to package the app into an Android APK, including troubleshooting tips for common build errors.
2023’s mobile app development landscape is shaped by emerging trends such as the metaverse, blockchain integration, advanced AR, AI-driven voice and chatbots, and innovations in frameworks like Swift, Jetpack Compose, Kotlin Multiplatform, React Native, and Flutter, all influencing the future of iOS and Android solutions.
This guide walks through installing Kivy on macOS, Linux, and CentOS, creating a simple Hello‑World Python app, testing it locally, and using Buildozer to package the app into an Android APK (or iOS app), including troubleshooting tips and a virtual‑machine option.
Xima’s React Native platform now powers dozens of services and tens of millions of daily page views, achieving sub‑second startup through RAM‑bundle and Hermes upgrades, bundle splitting, container caching, lazy loading, optimized list and image handling, while the upcoming JSI‑based Fabric, Turbo Modules and CodeGen architecture promises further latency reductions and smoother user experiences.
This article explains the technical background, implementation details, lifecycle management, multi‑business registration, power‑consumption analysis, and real‑world use cases of Alipay's lock‑screen component that shows app data on the Android lock screen.
The article explains how to create, parse, and use NinePatch (.9.png) images by extracting the custom “npTc” chunk from a PNG file, building a PNGNinePatch object in Objective‑C, and converting its stretchable region data into UIEdgeInsets for resizable iOS UI elements.
An Ant Group engineer reverse‑engineered a severe iOS 16 keyboard crash affecting the Alipay app, traced it to a faulty lock in UIKeyboardTaskQueue, and implemented an assembly‑level patch that eliminated the bug across millions of devices.
To globally block all user interactions—including touches, motion, remote control, and press events—developers can subclass UIApplication and override its sendEvent: method, providing a disableUserInteraction: API with timed re‑enabling and a counter to safely manage concurrent disable requests.
This article presents a curated list of practical web and mobile development projects—ranging from landing pages and API‑driven apps to full‑stack clones, AI‑enhanced sites, and niche mobile apps—to help developers build impressive portfolios and sharpen their skills.
To merge Bilibili’s UGC and OGV playback pages, the team built a multi‑scope architecture that aligns Dagger‑managed dependency‑injection components with Kotlin CoroutineScopes—PageScope, BizScope, and VideoPlayScope—so each business module is instantiated only when needed, automatically disposed with its parent lifecycle, and remains memory‑leak‑free.
The paper presents a high‑performance Android code‑coverage solution that uses standard reflection to read the ClassLoader’s ClassTable, achieving over five‑times faster collection than existing tools while remaining stable, compatible, multi‑process capable, and enabling incremental, cloud‑based reporting for reducing app size.
The 2022 mobile app development landscape is shaped by 5G adoption, foldable devices, AR/VR, wearables, food delivery, entertainment, AI/ML, security, super apps, mobile commerce, P2P payments, blockchain, predictive analytics, mobile learning, and IoT‑enabled apps, all driving faster, richer, and more secure user experiences.
TheRouter-iOS is a lightweight, annotation‑driven routing middleware that brings Java‑style dependency injection, hard‑code elimination, dynamic redirection, interceptors, and flexible navigation to iOS, offering a unified solution for complex mobile architectures and seamless integration with Android and web components.
Microsoft has released the first preview of a .NET MAUI extension for Visual Studio Code, enabling developers to debug, build, and deploy native Android, iOS, macOS, and Windows applications from a single shared codebase using C# and XAML, with integrated Blazor support.
This article introduces six essential Android Studio plugins—including ADB Idea, ECTranslation, Key Promoter X, Alibaba Java Coding Guidelines, QAPLug, and Save Action—detailing their installation, key features, and how they boost development efficiency, code quality, and debugging for Android developers.
This article reviews the evolution of cross‑platform technologies, explains Eleme’s unique approach of using a mini‑program DSL for multi‑end deployment, and details the static compilation plus runtime compensation strategy that powers the open‑source MorJS framework for seamless code reuse across mobile mini‑programs, plugins, sub‑packages, and web applications.
Huawei's recent announcements reveal the return of Kirin mobile chips, an aggressive 40‑million‑unit smartphone shipment target, and the upcoming HarmonyOS 4.0 beta with UI improvements, performance enhancements, and expanded device support, highlighting the company's confidence in its mobile ecosystem.
This article explains how Qunar integrated iOS 16 Live Activities to display real‑time travel updates on the lock screen and Dynamic Island, covering background, feature comparison, requirements, system design, Swift implementation, push‑based updates, debugging tips, and lessons learned.
The article traces Android’s architectural evolution from MVC through MVP and MVVM to MVI, explains each pattern with code examples, shows how MVI’s unidirectional flow combined with Jetpack Compose achieves full UI‑logic‑data decoupling for serial workflows like login‑verify‑thumb‑up, and advises developers to adopt MVI + Compose for new projects.
The article explains how LinkedIn adopted the 10X thinking to transform its mobile development process, introducing aggressive goals, static analysis, distributed builds, rapid testing layers, and a weekly release cadence to dramatically improve engineering efficiency and product delivery.
This article explores Android's ActivityThread class, detailing its role as the bridge between system and app processes, the initialization flow via main(), the use of ContentProvider for SDK startup, activity rendering triggers, and how SharedPreferences can cause ANR through QueuedWork.waitToFinish().
The article dissects Meta's Threads app, detailing its explosive user growth, the mobile engineering choices for Android and iOS—including universal APKs, Jetpack Compose UI, and large share extensions—while also revealing the Python‑based Cinder backend, performance optimizations, startup profiling, and the extensive code sharing with Instagram.
This article explains how to quantify Android UI jank by calculating a jank rate, uses Jetpack's JankStats library to collect frame‑level metrics, and presents two practical methods—stack dumping and bytecode instrumentation—to pinpoint the slow functions causing stutter, complete with Kotlin code examples and performance considerations.
This article explains how to use Python to obtain a mobile phone's location by calling various positioning APIs, outlines the required steps from acquiring an API key to parsing results and converting coordinates via map services, and provides complete example code.
This article explains the principles, usage, and internal mechanisms of CADisplayLink and NSTimer in iOS, compares their advantages and drawbacks, discusses common pitfalls such as retain cycles, explores RunLoop modes and sources, and provides code examples and solutions for reliable timer handling.
Wukong is HelloBike’s native partial‑dynamic card engine that lets developers design once, preview instantly, and deploy cross‑platform UI and logic without full app releases, boosting development efficiency by up to 80% through Flexbox‑based layouts, lightweight JS engines, and comprehensive tooling.
This article introduces Perfetto, the Android platform‑level tracing tool, explains its architecture and data sources, details how to record and import trace files, demonstrates analysis features such as slice, counter and lock‑contention views, provides SQL query examples, and shares practical troubleshooting cases for mobile developers.
This article shares a team's experience of establishing and refining Flutter unit testing across multiple apps, covering preparation, tooling, coverage improvement, effective test writing, efficiency tricks, and a detailed FAQ of common pitfalls and solutions.
This tutorial explains how to build a WeChat Mini Program that captures photos, sends them to a PHP backend for Baidu AI image recognition, and stores the results in a MySQL database, covering front‑end UI, JavaScript logic, and server‑side processing.
This article shares a senior engineer’s journey from internships to three years at Taobao, offering practical advice on writing readable, high‑performance Android code, mastering design principles, handling performance metrics, and maintaining a growth mindset while contributing to a mobile‑focused tech team.
This article explains how Baidu's iOS app analyzes Mach‑O binaries and applies systematic resource‑optimization techniques—including big‑resource detection, unused config removal, and duplicate asset elimination—to shrink package size by over a dozen megabytes.
This case study details the performance bottlenecks of the iQIYI Kids feed on low‑end devices and presents a series of engineering solutions—including async card rendering, preloading strategies, image pre‑decoding, and cache optimizations—that reduced scroll hitch time to 1.4 ms, dramatically improving user experience.
This article explains how to play custom voice prompts in iOS push notifications by downloading MP3 files to the app’s Library/Sounds directory or a shared app‑extension group at runtime, avoiding the need to bundle the audio in the app or submit a new version for review.
This article explains the workings of SwiftLint, a static code analysis tool for Swift, covering its architecture, built‑in rules, configuration options, custom rule creation, UIWebView deprecation detection, and advanced build‑time optimizations to improve linting efficiency in mobile development projects.
This article explains the motivation behind hybrid mobile development, outlines its overall architecture including offline package management and container systems, details the tooling and release process, and summarizes the practical benefits observed after deployment.
The article details how a mobile app’s scanner was re‑engineered from single‑code to multi‑code detection by overhauling the logic pipeline, adding UI overlays, implementing a rotation‑and‑scale transformation algorithm, integrating iOS Vision alongside the existing SDK, applying confidence filtering, deduplication, edge‑intelligence prediction, and memory‑optimized caching, ultimately boosting recognition rates by over 30 percentage points and reducing miss‑detections.
This article explains Kotlin's lazy initialization feature, describes its common usage patterns, dives into the internal source‑code implementations (Synchronized, Publication, and None), discusses thread‑safety concepts such as volatile and CAS, and provides practical recommendations for Android developers.
This article provides a comprehensive guide to Kotlin Multiplatform Mobile (KMM), covering its concepts, advantages over other cross‑platform frameworks, detailed setup steps, project structure, Gradle configuration, code examples for shared and platform‑specific modules, and an in‑depth explanation of the Android and iOS compilation pipelines.
The article walks through a real‑world React‑Native white‑screen crash, explains how the Metro bundler transforms source code into a jsbundle, extracts two distinctive code‑feature patterns (e.default = v and return (0, l.default)(b,[{)), and demonstrates how these patterns can be used to locate the original component files responsible for the error.
The article details Baidu APP iOS package size reduction by identifying and removing unused images, converting resources to Asset Catalogs, and leveraging HEIC and appropriate compression, achieving a 9.75 MB saving while outlining scripts, regex extraction methods, and best‑practice recommendations.
Google has launched Android 14 Beta 1 for general users, allowing Pixel devices to upgrade while warning of potential installation errors, and introduces a series of incremental improvements such as enhanced PIN privacy, a transparent navigation bar, restored volume controls, BLE audio settings, and updated photo/video permissions.
This guide explains how to improve development efficiency by selecting appropriate cross‑platform technologies such as Uni‑app, Taro, or Kbone combined with JSBridge, outlines suitable scenarios, compares Android and iOS WebView kernels, and provides practical code examples for implementing bidirectional communication.
This article introduces HorStickyNavLayout, a custom Android ViewGroup that enhances RecyclerView horizontal scrolling with a sticky footer prompting users to discover more content, detailing its architecture, nested scrolling handling, fling behavior, and animation logic to improve interaction without extra item views.
This article provides an in‑depth analysis of Android’s Activity launch mechanism, tracing the client‑side startActivity call through the framework layers, system_server services, AIDL interfaces, transaction handling, and the execution of lifecycle callbacks such as onCreate, onStart, and onResume, with extensive code excerpts.
WeChat’s Android accessibility framework abstracts common perceivable, operable, and understandable requirements into reusable rules, automatically enlarges touch targets, generates unified content descriptions, and includes a walk‑through verification service, enabling developers to efficiently implement scalable accessibility features for millions of visually or hearing‑impaired users.
This article introduces the XView one‑stop app pop‑up management platform, detailing its architecture upgrade, building workflow, mutual‑exclusion management, pre‑loading enhancements, page management, low‑cost integration, data center capabilities, current status, future roadmap, and practical case studies.
This article examines the drawbacks of multi‑repo development for large mobile apps, explains the concepts of monorepo and full‑source, and details ByteDance's BitSky implementation—including migration phases, Bazel build migration, dependency management, developer tools, and measurable efficiency gains.
This article presents an iOS OpenGLES 2D experiment that demonstrates a face‑slimming photo‑editing demo, explains the mesh‑grid warping algorithm, shader debugging techniques, perspective and affine transformations, and provides full source code and usage instructions.
This article recounts a developer's hands‑on experiment using ChatGPT to generate Flutter code for drawing a yellow five‑pointed star, iteratively refining the design, adding explosion particle animation, and reflecting on the strengths and quirks of in‑context learning AI.
The article examines Android's DropBoxManagerService architecture, its configurable file retention policies, naming conventions, atomic operations, and broadcast mechanisms, then applies these patterns to propose a client‑side log management system using a producer‑consumer model with prioritized temporary storage, rename‑based reporting, and FileObserver‑driven collection respecting network, data, timing, priority, and battery constraints.
This article analyzes Android layout rendering performance issues and presents optimization strategies including AsyncLayoutInflater, X2C framework, and custom view factory approaches to reduce rendering time by 20-35%.
This article explains how to detect and resolve performance bottlenecks in Flutter apps by using compile modes, profiling tools, layout tree insights, widget build optimizations, const constructors, list view strategies, raster thread tuning, and memory‑saving practices such as oversized‑image detection and layer separation.
This article examines Youku's systematic approach to adapting its video platform for foldable smartphones, covering market background, three optimization directions, the design of a responsive SDK, concrete UI improvements, technical implementation details, and future prospects for richer foldable experiences.