Tagged articles
1817 articles
Page 7 of 19
DeWu Technology
DeWu Technology
Jun 17, 2022 · Mobile Development

Analyzing Android WebView Multi‑Process Initialization and Optimization

The article dissects Android WebView’s evolution to Chromium‑based multi‑process mode, explains the costly initialization steps—including thread checks, provider creation, and Chromium engine startup in a sandbox process—highlights common security pitfalls, and offers idle‑time pre‑initialization and request‑interception techniques to boost performance.

AndroidWebViewmulti-process
0 likes · 27 min read
Analyzing Android WebView Multi‑Process Initialization and Optimization
Ctrip Technology
Ctrip Technology
Jun 16, 2022 · Mobile Development

MMKV‑Kotlin: A Kotlin Multiplatform Key‑Value Storage Library – Design, Usage, Testing and Maven Publishing

This article introduces MMKV‑Kotlin, a Kotlin Multiplatform wrapper for Tencent's high‑performance MMKV key‑value storage, covering its background, simple integration steps, architectural decisions, platform‑specific implementations, comprehensive unit and instrumented testing, and the process of publishing the library to Maven Central.

AndroidKotlin MultiplatformMMKV
0 likes · 22 min read
MMKV‑Kotlin: A Kotlin Multiplatform Key‑Value Storage Library – Design, Usage, Testing and Maven Publishing
Huolala Tech
Huolala Tech
Jun 16, 2022 · Mobile Development

Cutting Android Crash Rate from 5% to 0.02%: HuoLaLa’s Stability Playbook

This article details how HuoLaLa reduced its Android app crash rate from over 5% to just 0.02% through industry‑standard metrics, systematic crash analysis, code refactoring, third‑party SDK management, memory leak and OOM mitigation, and a suite of preventive tools such as gray releases, configuration systems, hot‑fixes and robust logging.

AndroidApp StabilityCrash
0 likes · 20 min read
Cutting Android Crash Rate from 5% to 0.02%: HuoLaLa’s Stability Playbook
IEG Growth Platform Technology Team
IEG Growth Platform Technology Team
Jun 14, 2022 · Mobile Development

Network Optimization Strategies for the YoukeYing Mobile SDK

This article outlines the background, guiding principles, measurement methods, and concrete optimization techniques—including protocol selection, data reduction, request aggregation, DNS and HTTP/2 improvements, priority handling, and backend tweaks—that together reduced SDK network latency by about 40% and accelerated asset delivery to over 90% within three seconds.

AndroidDNSHTTP2
0 likes · 10 min read
Network Optimization Strategies for the YoukeYing Mobile SDK
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jun 13, 2022 · Mobile Development

Understanding Android File Descriptor Issues: fdsan and fdtrack Mechanisms

This article explains what file descriptors are, how the Linux kernel manages them, and examines Android’s two detection mechanisms—fdsan and fdtrack—by detailing their design concepts and implementation, helping readers grasp and troubleshoot file‑descriptor anomalies in Android systems.

AndroidTechnical Analysisfdsan
0 likes · 18 min read
Understanding Android File Descriptor Issues: fdsan and fdtrack Mechanisms
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 13, 2022 · Mobile Development

How Youku Cut Android APK Size Over Five Years: Strategies, Tools, and Governance

This article reviews Youku's five‑year journey of Android APK size reduction, detailing the shift from special‑project squeezes to sustainable normal governance, the technical measures and analysis tools like Franky, and practical slimming techniques that can help any mobile team manage package size efficiently.

APK sizeAndroidpackage optimization
0 likes · 43 min read
How Youku Cut Android APK Size Over Five Years: Strategies, Tools, and Governance
Alibaba Terminal Technology
Alibaba Terminal Technology
Jun 9, 2022 · Mobile Development

Mastering Android APK Size: Youku’s 5‑Year Package Slimming Journey

Over five years, Youku’s Android team systematically reduced APK size through specialized and continuous governance, employing remote modules, whole‑package optimizations, and precise analysis tools like Franky, ultimately cutting the app from over 120 MB to under 65 MB while maintaining performance and stability.

APK sizeAndroidMobile Optimization
0 likes · 43 min read
Mastering Android APK Size: Youku’s 5‑Year Package Slimming Journey
Meituan Technology Team
Meituan Technology Team
Jun 2, 2022 · Mobile Development

Optimizing Android .so Library Size: Techniques and Practices

This article explains how Meituan engineers shrink Android native .so libraries by analyzing ELF sections, simplifying dynamic symbols, removing dead code, using link‑time optimization, garbage‑collecting sections, applying size‑focused compiler flags, disabling exceptions/RTTI, and merging or extracting libraries, achieving 30‑60% APK size reductions and faster load times.

AndroidELFLTO
0 likes · 31 min read
Optimizing Android .so Library Size: Techniques and Practices
OPPO Amber Lab
OPPO Amber Lab
Jun 2, 2022 · Information Security

DirtyPipe (CVE‑2022‑0847) Exploit: Gaining Root on Android

Researchers dissect the DirtyPipe (CVE‑2022‑0847) Linux kernel flaw affecting Android, explaining its uninitialized flag bug in splice, the patch changes, and detailed exploitation techniques that modify read‑only .so files to achieve arbitrary writes, bypass SELinux, and ultimately obtain root privileges.

AndroidCVE-2022-0847DirtyPipe
0 likes · 18 min read
DirtyPipe (CVE‑2022‑0847) Exploit: Gaining Root on Android
JD Retail Technology
JD Retail Technology
Jun 1, 2022 · Mobile Development

Migrating JD Android App to R8: Obfuscation Rules, v1 Signing Issues, and Build Process Pitfalls

This article details JD's Android app migration to the R8 compiler, explains differences between ProGuard and R8, analyzes the impact of the -useuniqueclassmembernames rule, addresses v1 signing loss after AGP 3.6.4 upgrade, and provides practical solutions for build‑process ordering and packaging pitfalls.

AGPAndroidBuild Optimization
0 likes · 23 min read
Migrating JD Android App to R8: Obfuscation Rules, v1 Signing Issues, and Build Process Pitfalls
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
May 31, 2022 · Frontend Development

Fin Line Height Fix Tool: Solving Visual Fidelity Issues in Design-Development Collaboration

The article introduces the Fin Line Height Fix Tool, an open‑source solution from NetEase’s Dolphin team that resolves visual fidelity problems caused by inconsistent font heights between design tools and implementation, offering Figma and Sketch plugins plus iOS, Android, and React Native code to ensure pixel‑level line‑height consistency and streamline designer‑developer collaboration.

AndroidSketchUI/UX
0 likes · 8 min read
Fin Line Height Fix Tool: Solving Visual Fidelity Issues in Design-Development Collaboration
FunTester
FunTester
May 30, 2022 · Mobile Development

Design, Implementation, and Optimization of an Android UI Automation Solution

This article describes a comprehensive Android UI automation framework that combines a customized Solopi recorder, OpenCV‑based screenshot verification, and a test‑report platform to reduce manual regression effort, improve case maintenance, and achieve reliable, scalable UI testing for fast‑release mobile applications.

AndroidOpenCVSolopi
0 likes · 12 min read
Design, Implementation, and Optimization of an Android UI Automation Solution
Kuaishou Large Model
Kuaishou Large Model
May 27, 2022 · Mobile Development

How Kuaishou Optimizes Mobile AI Effects with Dynamic Device Grading

To ensure consistent user experience across the wide range of Android and iOS devices, Kuaishou’s Y‑tech team designed a dynamic model‑grading framework that evaluates CPU, GPU, NPU, memory and other hardware metrics, then dispatches appropriately sized AI effect models and configurations in real time.

AndroidKuaishouMobile AI
0 likes · 12 min read
How Kuaishou Optimizes Mobile AI Effects with Dynamic Device Grading
Sohu Tech Products
Sohu Tech Products
May 25, 2022 · Mobile Development

Jetpack Compose 1.2 Beta Released with New Features, Layout Improvements, and Performance Tools

The Jetpack Compose 1.2 beta introduces numerous enhancements—including text padding control, downloadable fonts, lazy layout APIs, improved CoordinatorLayout interop, window size classes, performance diagnostics, and new Android Studio tools—while highlighting widespread adoption by major Android teams and outlining future roadmap priorities.

AndroidBetaCompose 1.2
0 likes · 9 min read
Jetpack Compose 1.2 Beta Released with New Features, Layout Improvements, and Performance Tools
IEG Growth Platform Technology Team
IEG Growth Platform Technology Team
May 23, 2022 · Information Security

Android 12 Security and Privacy Settings Overview

This article provides a comprehensive overview of Android 12's new security and privacy features, including the Privacy Information Center, location accuracy levels, package visibility filtering, deprecation of system‑dialog closing intents, app hibernation, permission group queries, microphone and camera toggles, and numerous other system‑level changes that affect app behavior and user experience.

AndroidAndroid12Permissions
0 likes · 21 min read
Android 12 Security and Privacy Settings Overview
Programmer DD
Programmer DD
May 21, 2022 · Mobile Development

Mastering Android OOM: Thread, File, and Memory Leak Solutions

This technical guide explores Android out‑of‑memory crashes by classifying OOM into thread‑count, file‑descriptor, and heap‑memory issues, then details non‑intrusive thread and thread‑pool optimizations, file‑descriptor and I/O monitoring, image compression strategies, and both Java and native memory‑leak detection techniques.

AndroidOOMPerformance Monitoring
0 likes · 28 min read
Mastering Android OOM: Thread, File, and Memory Leak Solutions
OPPO Amber Lab
OPPO Amber Lab
May 20, 2022 · Information Security

How Intent Redirection Lets Malicious Android Apps Gain System Privileges

This article analyzes a high‑risk Android Intent‑redirection vulnerability discovered in a smart‑terminal app, explains how attackers can gain system privileges to launch arbitrary activities, and outlines concrete mitigation steps for developers and security professionals.

AndroidIntent RedirectionMitigation
0 likes · 8 min read
How Intent Redirection Lets Malicious Android Apps Gain System Privileges
Yiche Technology
Yiche Technology
May 19, 2022 · Mobile Development

Implementing a Custom Two-Way Switch with Ripple Animation in Android

This article explains how to create a custom Android view that functions as a two‑way vertical switch with top‑bottom activation, indicator dots, ripple effects, dynamic text and color changes, and provides the full implementation steps from drawing to touch handling and external control.

AndroidCustom ViewMobile UI
0 likes · 6 min read
Implementing a Custom Two-Way Switch with Ripple Animation in Android
vivo Internet Technology
vivo Internet Technology
May 18, 2022 · Mobile Development

Optimizing Android PopupWindow and Snackbar UI Thread to Prevent Frame Drops

To eliminate frame drops caused by animated PopupWindow and Snackbar conflicts, the article shows how moving costly view inflation and show/dismiss operations to a dedicated HandlerThread—while still invoking show() on the UI thread—creates a separate UI thread that respects Android’s thread‑checking rules and keeps animations smooth.

AndroidPopupWindowUI Thread
0 likes · 20 min read
Optimizing Android PopupWindow and Snackbar UI Thread to Prevent Frame Drops
OPPO Kernel Craftsman
OPPO Kernel Craftsman
May 13, 2022 · Mobile Development

Deep Dive into the Android Dex File Format

The article explains the Android Dex format, its compact bytecode advantages, how d8 generates Dex files, details each structural component—from header and ID tables to class data and bytecode—covers encoding schemes, endianness, and demonstrates inspection with the dexdump tool for deeper ART understanding.

ARTAndroidD8
0 likes · 9 min read
Deep Dive into the Android Dex File Format
Baidu Geek Talk
Baidu Geek Talk
May 12, 2022 · Mobile Development

Android Guide Management, One‑Line Pressed State, and Expanding Click Area Techniques

The article introduces three practical Android techniques—a singleton‑based ordered guide manager to avoid conflicting tutorials, a one‑line Kotlin extension that adds a pressed‑state alpha effect to any view, and a concise TouchDelegate utility that expands a view’s clickable area without layout changes.

AndroidClickAreaGuideManager
0 likes · 12 min read
Android Guide Management, One‑Line Pressed State, and Expanding Click Area Techniques
Top Architect
Top Architect
May 10, 2022 · Mobile Development

Comprehensive Guide to OOM Issues, Thread Optimization, and Memory Leak Monitoring in Android Apps

This article explains the root causes of Out‑Of‑Memory (OOM) crashes on Android, classifies OOM types, and provides practical, non‑intrusive solutions for thread‑count, file‑descriptor, and heap‑memory problems, along with monitoring techniques using thread pools, image compression, LeakCanary, KOOM and native hooks.

AndroidMemoryLeakMobileDev
0 likes · 23 min read
Comprehensive Guide to OOM Issues, Thread Optimization, and Memory Leak Monitoring in Android Apps
Bilibili Tech
Bilibili Tech
May 7, 2022 · Mobile Development

Optimizing Android Build Speed with Fast‑Build Plugin and Monorepo Strategy at Bilibili

Zhang Yang explains how Bilibili’s massive Android monorepo was accelerated by a fast‑build Gradle plugin that replaces unchanged modules with cached AARs versioned by Git SHA, validates them with an R8‑based A8 check, and leverages cloud compilation and independent build units, cutting full builds from ~30 minutes to under 6 minutes locally and about 3 minutes in the cloud.

AndroidBuild OptimizationFast Build Plugin
0 likes · 22 min read
Optimizing Android Build Speed with Fast‑Build Plugin and Monorepo Strategy at Bilibili
Snowball Engineer Team
Snowball Engineer Team
May 6, 2022 · Mobile Development

Dynamic Card Injection Framework Using Annotation Processing in Android

This article describes how a mobile development team refactored a card‑creation feature by applying the Open/Closed and Single‑Responsibility principles, introduced a factory pattern with reflection, and ultimately built a fully automated dynamic injection framework using Java Annotation Processing (APT) to eliminate manual code updates.

AndroidAnnotation ProcessingDynamic Injection
0 likes · 13 min read
Dynamic Card Injection Framework Using Annotation Processing in Android
Laravel Tech Community
Laravel Tech Community
Apr 28, 2022 · Mobile Development

New Features in Android 13 Beta 1: Refined Media Permissions, Keystore Improvements, and Predictive Audio Routing

Google’s Android 13 Beta 1 introduces refined media‑file permissions with separate READ_MEDIA_* scopes, enhanced Keystore/KeyMint error reporting, and new predictive audio‑routing APIs, alongside other updates such as a photo picker, themed app icons, and improved localization support.

AndroidAudio RoutingBeta
0 likes · 4 min read
New Features in Android 13 Beta 1: Refined Media Permissions, Keystore Improvements, and Predictive Audio Routing
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Apr 28, 2022 · Mobile Development

Mastering Google Play In‑App Billing for Consumable Products with Kotlin Coroutines

This article explains how to integrate Google Play's in‑app billing for consumable items on Android, covering terminology, end‑to‑end transaction flow, key implementation steps, Kotlin Coroutine‑based pipeline design, common pitfalls, and a practical checklist for reliable payment processing.

AndroidCallbackFlowConsumable Products
0 likes · 17 min read
Mastering Google Play In‑App Billing for Consumable Products with Kotlin Coroutines
Shopee Tech Team
Shopee Tech Team
Apr 21, 2022 · Mobile Development

Understanding and Solving Android UI Jank and ANR with MDAP LooperMonitor

The article explains how Android UI jank and ANR stem from the Looper‑MessageQueue, and introduces MDAP’s LooperMonitor—a low‑overhead tool that records each message’s target, timing and stack, aggregates data across multiple loopers, visualizes it, and enables developers to quickly pinpoint and resolve the exact cause of stalls.

ANRAndroidLooperMonitor
0 likes · 32 min read
Understanding and Solving Android UI Jank and ANR with MDAP LooperMonitor
Alibaba Terminal Technology
Alibaba Terminal Technology
Apr 18, 2022 · Mobile Development

How Cube Achieved High‑Performance Cross‑Platform Rendering with Asynchronous Bitmap Rendering

This article explains Cube's evolution from early native rendering challenges to a sophisticated asynchronous, cross‑platform rendering architecture that uses bitmap caching, platform‑specific layers, and a multi‑stage optimization process to boost mobile UI performance on both Android and iOS.

AndroidCube frameworkMobile UI
0 likes · 15 min read
How Cube Achieved High‑Performance Cross‑Platform Rendering with Asynchronous Bitmap Rendering
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Apr 15, 2022 · Mobile Development

Using Battery Historian for Android Power Consumption Analysis

Battery Historian, a Google-provided visual tool for Android bugreport analysis, lets developers generate bugreports via ADB, examine system and app statistics such as screen‑on/off, wake‑locks, and charging behavior, and diagnose common power issues like slow charging, overheating, and unexplained drain.

AndroidBugReportbattery-historian
0 likes · 7 min read
Using Battery Historian for Android Power Consumption Analysis
Sohu Tech Products
Sohu Tech Products
Apr 6, 2022 · Mobile Development

Complete Guide to Updating UI from Background Threads in Android

This article explains why Android forbids UI updates from background threads, analyzes the underlying framework source code to trace the view hierarchy and thread checks, and presents several techniques—both general and view‑specific—to safely modify UI without triggering exceptions.

AndroidBackground ThreadUI Thread
0 likes · 17 min read
Complete Guide to Updating UI from Background Threads in Android
Alibaba Terminal Technology
Alibaba Terminal Technology
Apr 6, 2022 · Mobile Development

How to Achieve Seamless Cross‑Page Video Playback on Android: Hema’s Optimization

This article details Hema’s approach to enabling continuous short‑video playback across page transitions on Android, covering environment setup, problem analysis, three solution candidates, the chosen MediaPlayer‑based implementation, transition‑animation techniques, lifecycle pitfalls, and future optimization directions.

AndroidCross‑Page ContinuationMediaPlayer
0 likes · 10 min read
How to Achieve Seamless Cross‑Page Video Playback on Android: Hema’s Optimization
Snowball Engineer Team
Snowball Engineer Team
Apr 2, 2022 · Mobile Development

Startup Optimization for the Snowball Android App: Principles, Problem Attribution, and Solutions

This article explains the fundamentals of Android app startup, categorizes cold, hot, and warm launches, identifies performance bottlenecks using tools like ADB, Systrace, and Traceview, and presents concrete optimization strategies for Application creation and splash-screen rendering that reduce launch time by up to 60 percent.

AndroidSystraceTraceView
0 likes · 12 min read
Startup Optimization for the Snowball Android App: Principles, Problem Attribution, and Solutions
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Apr 1, 2022 · Mobile Development

Android Black Screen/Freeze Issue Analysis: System Mechanisms and Debugging Techniques

The article dissects Android black-screen and freeze problems by explaining the VSync/Choreographer rendering pipeline, ANR timeout rules, System Server Watchdog monitoring, Handler‑Looper messaging, input event flow, and Window Management Service focus handling, offering developers systematic debugging techniques for these UI stalls.

ANRAndroidBlack Screen
0 likes · 13 min read
Android Black Screen/Freeze Issue Analysis: System Mechanisms and Debugging Techniques
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 30, 2022 · Backend Development

DeepLink Service Architecture and Implementation for Mobile App Promotion

This article explains the concept of DeepLink, its iOS and Android application scenarios, the design of deployment links across versions, the integration of APK Signature Scheme v2, and the caching strategies (Caffeine) used to efficiently serve channel‑specific packages in a backend service.

AndroidDeepLinkMobile
0 likes · 11 min read
DeepLink Service Architecture and Implementation for Mobile App Promotion
WeChat Client Technology Team
WeChat Client Technology Team
Mar 29, 2022 · Mobile Development

How WeChat Android Boosts Accessibility for Seniors and Disabled Users

This article explains the Android accessibility framework built for WeChat, detailing its requirements, architecture, core features like global touch‑target expansion, basic screen‑reader concepts, execution pipeline, and a custom inspection tool that together enable senior‑friendly and disability‑inclusive app interactions.

Accessibility FrameworkAndroidMobile Development
0 likes · 15 min read
How WeChat Android Boosts Accessibility for Seniors and Disabled Users
Baidu App Technology
Baidu App Technology
Mar 28, 2022 · Mobile Development

Dex DebugInfo Line Number Optimization in Android Applications

The article explains how Baidu’s Dex line-number optimization replaces original line numbers with compact PC-based mappings, unifies debug_info_items, and uses a server-side mapping file to shrink DebugInfo by roughly 8% of the Dex size while keeping stack-trace line numbers fully recoverable.

AndroidDEXDebugInfo
0 likes · 25 min read
Dex DebugInfo Line Number Optimization in Android Applications
Coolpad Technology Team
Coolpad Technology Team
Mar 24, 2022 · Mobile Development

Understanding and Analyzing Android ANR (Application Not Responding) Issues

This article explains the causes of Android ANR, details the input dispatching mechanism, presents key code paths in InputDispatcher, and provides a step‑by‑step analysis workflow—including system‑level factors, stack inspection, Binder problems, and memory‑related pitfalls—to help developers diagnose and resolve most ANR cases.

ANRAndroidBinder
0 likes · 25 min read
Understanding and Analyzing Android ANR (Application Not Responding) Issues
Sohu Tech Products
Sohu Tech Products
Mar 23, 2022 · Mobile Development

A Comprehensive Guide to Android Jetpack and ViewBinding: Architecture, Components, and Practical Implementation

This article introduces Android Jetpack, explains its component categories, demonstrates the migration from findViewById to ViewBinding with step‑by‑step code examples for activities, fragments, dialogs, RecyclerView adapters, custom ViewGroups, and includes optimization patterns using generics and Kotlin delegates, while also revealing the underlying code‑generation process.

AndroidArchitecture ComponentsJetpack
0 likes · 14 min read
A Comprehensive Guide to Android Jetpack and ViewBinding: Architecture, Components, and Practical Implementation
Architecture Digest
Architecture Digest
Mar 23, 2022 · Mobile Development

One-Click Mobile Number Login and Verification Services by Chinese Telecom Operators

Chinese telecom operators provide one‑click mobile number login and verification services that leverage carrier gateway authentication, allowing iOS, Android, H5, and mini‑program apps to obtain the device’s phone number or validate it without passwords, improving user experience and security across various scenarios.

AndroidMobile AuthenticationPhone Verification
0 likes · 10 min read
One-Click Mobile Number Login and Verification Services by Chinese Telecom Operators
Baidu App Technology
Baidu App Technology
Mar 17, 2022 · Mobile Development

Baidu App APK Size Optimization: Principles, Tools, and Implementation

The Baidu App team applied a systematic, sustainable approach—combining Dex, resource, and native‑library optimizations with tools such as R8, ProGuard, AndResGuard, and custom compression pipelines—to shrink the APK by several megabytes, improve download conversion, and establish reusable mechanisms for future builds.

APKAndroidDEX
0 likes · 20 min read
Baidu App APK Size Optimization: Principles, Tools, and Implementation
Airbnb Technology Team
Airbnb Technology Team
Mar 17, 2022 · Mobile Development

Automated Test Generation and CI Configuration for Airbnb Android

The final Airbnb Android testing article explains how a Kotlin script automatically generates JUnit tests for every MvRx Fragment, integrates them into a Buildkite CI pipeline that runs only changed fragment tests, shards execution with Flank, reports visual regressions via Happo, aggregates JaCoCo coverage, and posts detailed PR comments, while outlining future enhancements such as deep‑link, end‑to‑end, performance, and R8 testing.

AndroidAutomated TestingCI
0 likes · 16 min read
Automated Test Generation and CI Configuration for Airbnb Android
Sohu Tech Products
Sohu Tech Products
Mar 16, 2022 · Mobile Development

Saving Images to Android Gallery Using the MediaStore API

This article explains how to save images to the Android gallery using the MediaStore API, covering permission changes across Android versions, the insertion and output stream workflow, code examples in Kotlin, and considerations for sharing images without unnecessary FileProvider usage.

AndroidFileProviderImage Saving
0 likes · 12 min read
Saving Images to Android Gallery Using the MediaStore API
vivo Internet Technology
vivo Internet Technology
Mar 16, 2022 · Mobile Development

Analyzing and Fixing TextView Marquee Reset Issue on Android 6.0+

The article shows how to diagnose the Android 6.0+ TextView marquee jump caused by a button’s setText triggering requestLayout and onMeasure, and fixes it by giving the button a fixed size instead of wrap_content, illustrating a systematic source‑code analysis and debugging workflow for UI issues.

AndroidTextViewanimation
0 likes · 14 min read
Analyzing and Fixing TextView Marquee Reset Issue on Android 6.0+
LOFTER Tech Team
LOFTER Tech Team
Mar 15, 2022 · Mobile Development

Applying Domain‑Driven Design to Large List Architecture in Android

This article describes how the Lofter team applied Domain‑Driven Design to refactor and govern complex, multi‑type RecyclerView lists on Android, progressing from a monolithic adapter through a split‑stage implementation to a full DDD‑based framework with reusable bars and context‑aware layout managers.

AndroidDDDLarge List
0 likes · 22 min read
Applying Domain‑Driven Design to Large List Architecture in Android
Youzan Coder
Youzan Coder
Mar 14, 2022 · Information Security

Android Privacy Protection: Privacy API and Permission HOOK Implementation Practice

To meet new Chinese privacy regulations, the article presents an mPaaS‑based solution that uses compile‑time Java HOOKs to replace privacy‑sensitive API calls and dangerous permission requests, automatically detecting and logging violations during build and runtime, and providing backend alerts and management tools for compliance.

ASMAndroidBytecode Manipulation
0 likes · 14 min read
Android Privacy Protection: Privacy API and Permission HOOK Implementation Practice
Alibaba Terminal Technology
Alibaba Terminal Technology
Mar 14, 2022 · Mobile Development

How to Fight Android Engineering Decay: Strategies for Code, Resources, and Modules

This article examines the root causes of engineering decay in large Android apps, breaks down the problem into configuration, manifest, Java code, resources, and native libraries, and presents a comprehensive governance framework that combines people‑centric practices, process‑driven gates, and tooling to detect and remediate decay across modules.

AndroidBuild ProcessEngineering Decay
0 likes · 22 min read
How to Fight Android Engineering Decay: Strategies for Code, Resources, and Modules
HomeTech
HomeTech
Mar 8, 2022 · Mobile Development

Best Practices for Secure Android Component Development

This article explains how to securely use Android components during development by identifying risk points, recommending proper use of the android:exported attribute, custom permissions, intent validation, and safe BroadcastReceiver and ContentProvider practices to enhance app reliability and security.

AndroidBroadcastReceiverComponent Security
0 likes · 7 min read
Best Practices for Secure Android Component Development
Alibaba Terminal Technology
Alibaba Terminal Technology
Mar 7, 2022 · Mobile Development

How to Combat Android .so Library Bloat and Compatibility Issues

This article examines the challenges of Android native .so libraries—including ABI incompatibility, duplicate and conflicting binaries, and unnecessary exported symbols—while presenting practical detection tools, static vs. dynamic STL linking strategies, loading process analysis, and comprehensive governance solutions to keep app size and stability in check.

AndroidSOabi
0 likes · 22 min read
How to Combat Android .so Library Bloat and Compatibility Issues
Sohu Tech Products
Sohu Tech Products
Mar 2, 2022 · Mobile Development

Designing a Robust Android App Startup Framework with Annotation Processing and Task Scheduling

This article explains how to build a high‑performance Android startup framework by collecting initialization tasks with custom annotations, generating code via annotation processors, injecting tasks into the application, and scheduling them using a DAG‑based algorithm that supports async execution, multi‑process, and priority handling.

AndroidAnnotation ProcessingKotlin
0 likes · 11 min read
Designing a Robust Android App Startup Framework with Annotation Processing and Task Scheduling
Baidu Geek Talk
Baidu Geek Talk
Feb 28, 2022 · Mobile Development

APK Package Size Optimization and Resource Obfuscation for Android Plugins

To keep Android plugins lightweight as they grow, developers should analyze and obfuscate resource files—using a custom AndroidResGuard extension that adds a fixed package ID and a mapping table protocol—to shrink the resources.arsc constant pool, integrate the changes via Gradle, verify with gray releases, and achieve roughly an 8% size reduction while ensuring whitelist compliance.

APK size optimizationAndroidGradle Plugin
0 likes · 11 min read
APK Package Size Optimization and Resource Obfuscation for Android Plugins
Kuaishou Tech
Kuaishou Tech
Feb 28, 2022 · Mobile Development

Low‑Code Property Animations on Android: Principles, Workflow, and Implementation

This article explains the concept of property animation on mobile, analyzes the inefficiencies of manual animation coding, proposes a low‑code solution inspired by Lottie, and provides detailed Java code and workflow diagrams for integrating reusable attribute animations into Android applications.

AndroidAnimation FrameworkLottie
0 likes · 11 min read
Low‑Code Property Animations on Android: Principles, Workflow, and Implementation
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Feb 18, 2022 · Mobile Development

Understanding Android EventHub: Architecture and Event Handling

EventHub acts as the bridge between Linux input devices and Android’s InputReader by monitoring /dev/input with inotify and epoll, detecting device additions, opening and registering new devices, reading raw input_event structures, converting them into RawEvent objects, and handling closures, rescans, and wake‑up signals in a continuous loop.

AndroidEventHubInput System
0 likes · 9 min read
Understanding Android EventHub: Architecture and Event Handling
ByteDance Terminal Technology
ByteDance Terminal Technology
Feb 17, 2022 · Mobile Development

DexInjector: Direct APK (dex) Instrumentation Tool and Technical Design

This article introduces DexInjector, a tool for directly instrumenting Android APK dex files to insert logging, performance monitoring, and third‑party hooks without recompiling, explains the underlying technical research, design choices, implementation details, handling of method limits, string jumbo, obfuscation, class conflicts, and provides code examples and workflow diagrams.

APKAndroidDEX
0 likes · 23 min read
DexInjector: Direct APK (dex) Instrumentation Tool and Technical Design
Sohu Tech Products
Sohu Tech Products
Feb 16, 2022 · Mobile Development

Understanding the Implementation and Traversal of Modifier Chains in Jetpack Compose

This article explains how Jetpack Compose's Modifier interface is defined, how its concrete implementations such as SizeModifier, Background, Padding, CombinedModifier, and ComposedModifier form a chain, and how the foldIn and foldOut functions enable forward and reverse traversal of that chain for layout processing.

AndroidJetpack ComposeKotlin
0 likes · 14 min read
Understanding the Implementation and Traversal of Modifier Chains in Jetpack Compose
DaTaobao Tech
DaTaobao Tech
Feb 15, 2022 · Mobile Development

Optimizing Fast and Precise Scrolling in Android RecyclerView

By preloading off-screen items, applying a short non-animated jump for large distances, and then using a customized smooth-scroll with precise offset correction, the Android RecyclerView achieves fast, accurate scrolling without white-screen flashes or abrupt stops, greatly improving navigation of long, dynamically-sized lists.

AndroidMobile DevelopmentRecyclerView
0 likes · 14 min read
Optimizing Fast and Precise Scrolling in Android RecyclerView
Alibaba Terminal Technology
Alibaba Terminal Technology
Feb 14, 2022 · Mobile Development

How to Combat Android Manifest Decay: Best Practices and Tools

This article explores the hidden challenges of Android Manifest decay in app development, explaining how unintended changes can affect performance, stability, and compliance, and presents practical solutions—including merge control, placeholder usage, global configuration checks, permission management, and component export governance—backed by Youku’s real‑world tooling and practices.

Androidbuild toolsmanifest
0 likes · 17 min read
How to Combat Android Manifest Decay: Best Practices and Tools
MaGe Linux Operations
MaGe Linux Operations
Feb 13, 2022 · Fundamentals

Unlock Android Power: A Complete Guide to Using Termux Without Root

This article introduces Termux, an open‑source Linux terminal emulator for Android that runs without root, explains how to replace its package source with a domestic mirror, configure storage permissions, use essential pkg commands, and set up simple applications like an HTTP server and a hacker‑style display.

AndroidTermuxcommand-line
0 likes · 6 min read
Unlock Android Power: A Complete Guide to Using Termux Without Root
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Feb 11, 2022 · Operations

Overview and Implementation of eBPF for Android Network Statistics and Control

The article explains how Android’s shift to Linux kernel 4.x/5.x introduced the eBPF framework, detailing its advantages over iptables, the programming model with helper macros and maps, and its implementation in netd and HAL to collect network statistics, enforce traffic control, and support power‑saving Doze policies.

AndroidBPFNetwork Monitoring
0 likes · 8 min read
Overview and Implementation of eBPF for Android Network Statistics and Control
Xianyu Technology
Xianyu Technology
Feb 10, 2022 · Mobile Development

Design and Implementation of an Android Chain Framework for Business Decoupling

The Android Chain framework decouples business modules by turning call points into annotated extension points, generating interface‑to‑implementation mappings at compile time, merging them via a Gradle plugin, and exposing them through a runtime singleton that supports priority, dynamic proxies, custom URL protocols, and ProGuard‑safe automatic registration.

AndroidAnnotationProcessingDependencyInjection
0 likes · 8 min read
Design and Implementation of an Android Chain Framework for Business Decoupling
Baidu Geek Talk
Baidu Geek Talk
Feb 7, 2022 · Mobile Development

Optimizing Video Playback: Soft/Hardware Decoding Strategies for Baidu Android App

The article evaluates software versus hardware video decoding for Baidu’s Android app, presents benchmark data showing surface‑mode hardware decoding’s superior efficiency, identifies compatibility and first‑frame latency challenges, and proposes a monitoring module plus seamless soft‑to‑hard decoder switching to achieve high hardware‑decode usage while maintaining fast startup and low error rates.

AndroidHardware accelerationMediaCodec
0 likes · 11 min read
Optimizing Video Playback: Soft/Hardware Decoding Strategies for Baidu Android App
IT Services Circle
IT Services Circle
Feb 3, 2022 · Mobile Development

Microsoft’s ‘Your Phone’ App Brings Android Phone Integration to Windows PCs

The article outlines how Microsoft’s Your Phone app enables Android smartphones—especially Honor’s Magic V—to sync with Windows 10/11 PCs for calls, messages, notifications, photos and apps, while noting limited features, recent availability in China, and the broader trend of cross‑device continuity first shown by Apple in 2014.

AndroidWindowsYour Phone
0 likes · 4 min read
Microsoft’s ‘Your Phone’ App Brings Android Phone Integration to Windows PCs
Programmer DD
Programmer DD
Jan 30, 2022 · Mobile Development

Instantly Forward Android SMS to Any Platform with SmsForwarder

This article introduces SmsForwarder, an open‑source Android app that monitors SMS, calls, and app notifications and forwards them to various services such as DingTalk, WeChat, Telegram, email, and more, highlighting its convenience, low power consumption, and robust design.

AndroidMobile AutomationSMS forwarding
0 likes · 3 min read
Instantly Forward Android SMS to Any Platform with SmsForwarder
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 28, 2022 · Mobile Development

Overview of Android Camera2 Image Capture and Face Recognition Pipeline

The article outlines Android’s Camera2‑based 2D face‑recognition image‑capture pipeline, detailing the Camera HAL and v2 API architecture, YUV_420_888 data handling, ImageReader capture and preview workflow, surface handle transmission to the Face framework, and provides reference resources for developers.

AndroidCamera2FaceRecognition
0 likes · 11 min read
Overview of Android Camera2 Image Capture and Face Recognition Pipeline
Airbnb Technology Team
Airbnb Technology Team
Jan 27, 2022 · Mobile Development

Architecture of Airbnb's Automated Testing Framework (Part 5)

Part 5 of Airbnb’s Android testing series details the custom IntegrationTestActivity architecture that drives fragment‑based screenshots and interactions, explains how idle state is detected by polling Looper queues, and describes a global exception handler that adds contextual test information to aid rapid debugging.

AndroidAutomated TestingError Handling
0 likes · 13 min read
Architecture of Airbnb's Automated Testing Framework (Part 5)
Sohu Tech Products
Sohu Tech Products
Jan 26, 2022 · Mobile Development

Adapting Android Apps for Large Screens and Foldable Devices with WindowSizeClass and Jetpack Tools

This article explains how Android developers can embrace the rapidly growing large‑screen and foldable device market by using WindowSizeClass APIs, Reference Devices, NavigationRail, SlidingPaneLayout, Jetpack Compose adaptations, and Gradle‑managed testing to create responsive, multi‑window experiences across phones, tablets, Chrome OS and foldables.

AndroidJetpack ComposeLarge Screens
0 likes · 25 min read
Adapting Android Apps for Large Screens and Foldable Devices with WindowSizeClass and Jetpack Tools
Baidu App Technology
Baidu App Technology
Jan 24, 2022 · Mobile Development

Introduction to OpenCL Programming for Mobile GPU Computing

As mobile CPUs plateau, developers increasingly use OpenCL to harness Android GPUs like Qualcomm Adreno and Huawei Mali for heterogeneous computing, leveraging its platform, execution, and memory models to write portable kernels—illustrated by a simple array‑addition example that demonstrates device initialization, kernel creation, buffer management, and parallel execution.

AndroidC ProgrammingGPU computing
0 likes · 8 min read
Introduction to OpenCL Programming for Mobile GPU Computing
BaiPing Technology
BaiPing Technology
Jan 17, 2022 · Mobile Development

How to Ensure Your Android App Supports 64‑Bit ABI and Pass Store Requirements

This guide explains why Android apps must adopt 64‑bit architectures, outlines market mandates, describes the ABI landscape, shows how to detect missing 64‑bit native libraries with Gradle scripts or the EasyPrivacy plugin, and provides step‑by‑step instructions for updating build configurations, testing, and publishing compliant APKs or App Bundles.

64-bitAPKAndroid
0 likes · 13 min read
How to Ensure Your Android App Supports 64‑Bit ABI and Pass Store Requirements
vivo Internet Technology
vivo Internet Technology
Jan 12, 2022 · Mobile Development

Pitfalls of LiveData Observation and Lambda Optimizations in Android MVVM

When observing LiveData in Android MVVM, developers may be misled by log deduplication, Java‑8 lambda optimizations that reuse a single Observer, automatic replay of the latest value to new observers, and shared ViewModel navigation bugs, but using an Event wrapper, reflection to reset version counters, or switching to Kotlin Flow/SharedFlow can safely avoid these pitfalls.

AndroidKotlinLambda
0 likes · 20 min read
Pitfalls of LiveData Observation and Lambda Optimizations in Android MVVM
转转QA
转转QA
Jan 12, 2022 · Mobile Development

UI Automation Element Locating for Android and iOS Using WEditor and Appium

This guide explains how to set up and use WEditor for Android and tidevice/Appium for iOS to locate UI elements efficiently, covering prerequisite tools, installation commands, step‑by‑step connection procedures, error handling, and best‑practice strategies for reliable mobile UI automation.

AndroidAppiumElement Locating
0 likes · 6 min read
UI Automation Element Locating for Android and iOS Using WEditor and Appium
ByteDance Terminal Technology
ByteDance Terminal Technology
Jan 11, 2022 · Fundamentals

Online Java OOM Attribution Solution Based on Hprof Memory Snapshots

This article introduces a comprehensive solution for diagnosing and attributing Java Out‑Of‑Memory (OOM) issues in Android apps by capturing Hprof memory snapshots, automatically analyzing heap data, identifying leaks, large objects, and class‑wide memory consumption, and providing privacy‑preserving, automated reporting and remediation workflows.

AndroidHprofMemoryAnalysis
0 likes · 24 min read
Online Java OOM Attribution Solution Based on Hprof Memory Snapshots
DeWu Technology
DeWu Technology
Jan 10, 2022 · Mobile Development

APK Package Size Optimization and Monitoring Platform for Android Apps

The platform optimizes Android APK size by shrinking resources, compressing images, filtering native libraries, and applying selective byte‑code reductions, then continuously monitors package composition, trends, and business‑line usage, alerting teams to abnormal growth while preserving functionality for large‑scale apps.

APKAndroidDEX
0 likes · 13 min read
APK Package Size Optimization and Monitoring Platform for Android Apps
Alibaba Terminal Technology
Alibaba Terminal Technology
Jan 10, 2022 · Mobile Development

How to Accurately Measure and Optimize Android Frame Rate with APM

This article explains how APM provides frame‑rate data for Android, discusses the challenges of inaccurate FPS, introduces metrics such as scroll FPS, frozen‑frame ratio, scrollHitchRate and frame‑cause analysis, details the rendering pipeline, code implementations, optimization techniques, and integration with AB testing for performance improvement.

APMAndroidFrame Rate
0 likes · 20 min read
How to Accurately Measure and Optimize Android Frame Rate with APM
58 Tech
58 Tech
Jan 6, 2022 · Mobile Development

Design and Implementation of a Unified Rich Media Animation Control for Android Apps

This document presents the background, objectives, research findings, design principles, API specifications, caching strategy, implementation details, XML usage, memory impact analysis, and conclusions of a unified rich‑media animation component that consolidates image, GIF, Lottie, pager and video handling for efficient reuse in Android RecyclerView lists.

AndroidCacheDesign
0 likes · 11 min read
Design and Implementation of a Unified Rich Media Animation Control for Android Apps
Sohu Tech Products
Sohu Tech Products
Jan 5, 2022 · Mobile Development

CameraX ImageAnalysis YUV‑to‑RGB Conversion Using libyuv and NDK

This article explains the new CameraX ImageAnalysis feature that adds YUV‑420_888 to RGBA_8888 conversion, discusses the underlying YUV and RGBA formats, compares Java/Kotlin, RenderScript and native libyuv implementations, and provides performance results and usage guidance for Android developers.

AndroidCameraXImageAnalysis
0 likes · 8 min read
CameraX ImageAnalysis YUV‑to‑RGB Conversion Using libyuv and NDK