Tagged articles

Android

1846 articles · Page 7 of 19
Baidu Geek Talk
Baidu Geek Talk
Aug 3, 2022 · Mobile Development

How Baidu App Shrinks Android APK Size with Advanced Resource Optimizations

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.

AAPT2APKAndroid
0 likes · 21 min read
How Baidu App Shrinks Android APK Size with Advanced Resource Optimizations
Baidu App Technology
Baidu App Technology
Aug 2, 2022 · Mobile Development

Baidu App Android APK Resource Optimization Practices

The article details Baidu App’s third‑stage Android APK size reduction, explaining the res/ and assets structure, reviewing AGP’s OptimizeResources, ShrinkResources and new flags, and describing a custom AAPT2‑based tool that shortens paths and filenames, removes extensions, collapses names, uses sparse encoding, integrates third‑party guards and image‑compression techniques to significantly shrink the package.

AAPT2APKAndroid
0 likes · 19 min read
Baidu App Android APK Resource Optimization Practices
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jul 29, 2022 · Information Security

How Android’s Binder Uses SELinux to Enforce Secure IPC Permissions

This article examines Android’s Binder inter‑process communication mechanism, detailing how SELinux integrates with the /dev/binder driver, the role of ServiceManager as ContextManager, the definition of binder‑related permissions, and the kernel‑level security hooks that enforce SEAndroid checks during binder transactions.

AndroidIPCSEAndroid
0 likes · 20 min read
How Android’s Binder Uses SELinux to Enforce Secure IPC Permissions
Dada Group Technology
Dada Group Technology
Jul 28, 2022 · Mobile Development

How to Shrink Android APK Size: Proven Strategies and Tools

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.

APKAndroidApp Size
0 likes · 14 min read
How to Shrink Android APK Size: Proven Strategies and Tools
Java High-Performance Architecture
Java High-Performance Architecture
Jul 27, 2022 · Mobile Development

Build a Java‑Based Android E‑Commerce Live Streaming App with Zego SDK

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.

AndroidJavaZego SDK
0 likes · 10 min read
Build a Java‑Based Android E‑Commerce Live Streaming App with Zego SDK
37 Interactive Technology Team
37 Interactive Technology Team
Jul 27, 2022 · Mobile Development

Android APK Digital Signature: Purpose, Principles, and v1‑v4 Signing Schemes

Android APK digital signatures ensure app integrity and author authenticity by hashing files and signing with a private key, with four schemes—v1 (JAR‑style per‑file digests), v2 (whole‑APK block), v3 (key‑rotation support), and v4 (external .idsig for fast incremental installs)—each offering progressively stronger protection and installation speed.

APK signingAndroidV1
0 likes · 16 min read
Android APK Digital Signature: Purpose, Principles, and v1‑v4 Signing Schemes
Sohu Tech Products
Sohu Tech Products
Jul 20, 2022 · Mobile Development

Common Android Development Pitfalls and Solutions: Soft Keyboard, Merge Tag, LinearLayout, and Fragment Issues

This article discusses several frequent Android development challenges—including hiding the soft keyboard after activity finish, proper use of the merge tag, LinearLayout weight handling, and numerous Fragment lifecycle pitfalls—providing practical solutions, code snippets, and best‑practice recommendations to improve app stability and UI behavior.

AndroidFragmentLayout
0 likes · 13 min read
Common Android Development Pitfalls and Solutions: Soft Keyboard, Merge Tag, LinearLayout, and Fragment Issues
Baidu Geek Talk
Baidu Geek Talk
Jul 20, 2022 · Mobile Development

How Baidu’s Dex Line‑Number Optimization Shrinks Android APKs by 8%

This article examines Android Dex DebugInfo line‑number optimization, detailing the structure of DebugInfo, existing solutions, Baidu’s mapping‑based approach, R8 and Alipay techniques, and the resulting APK size reduction, while also describing the end‑to‑end pipeline for line‑number retracing in production.

APKSizeReductionAndroidDEX
0 likes · 23 min read
How Baidu’s Dex Line‑Number Optimization Shrinks Android APKs by 8%
Baidu Geek Talk
Baidu Geek Talk
Jul 18, 2022 · Mobile Development

Baidu App APK Size Optimization: Fundamentals, Tools, and Practices

The article explains why reducing APK size improves download conversion and performance, then details a systematic, divide‑and‑conquer approach for Baidu App that trims Dex, resources, native libraries and ZIP overhead using tools such as R8, AndResGuard, ByteX, Booster and AGP, achieving a reduction from roughly 123 MB to 115 MB with up to 6 MB saved per batch and outlining plans to open‑source the utilities.

APK OptimizationAndroidDEX
0 likes · 17 min read
Baidu App APK Size Optimization: Fundamentals, Tools, and Practices
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jul 15, 2022 · Mobile Development

Understanding User‑Space Locks on Android: Java, JUC, and Native Locks

The article explains Android’s user‑space locking hierarchy—from Java intrinsic and JUC locks to C++ std::mutex and pthread mutexes—detailing their internal structures, state transitions, and reliance on futex system calls for kernel‑level blocking, helping developers optimize synchronization across Java and native layers.

AndroidJavaLocks
0 likes · 17 min read
Understanding User‑Space Locks on Android: Java, JUC, and Native Locks
Sohu Tech Products
Sohu Tech Products
Jul 13, 2022 · Mobile Development

Understanding Window, Insets, and WindowInsets in Android: Concepts, APIs, and Practical Usage

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.

AndroidAndroidXKotlin
0 likes · 10 min read
Understanding Window, Insets, and WindowInsets in Android: Concepts, APIs, and Practical Usage
JD Retail Technology
JD Retail Technology
Jul 13, 2022 · Mobile Development

How JDHybrid Offline Loading Supercharges Mobile App Performance

This article analyzes JDHybrid's offline loading architecture for Android and iOS, detailing mechanisms such as direct file loading, request interception, WKURLSchemeHandler, package generation, download tiering, preloading strategies, memory warm‑up, debugging tools, and performance monitoring that together boost first‑screen speed and reduce bandwidth during high‑traffic events.

AndroidOffline Loadinghybrid
0 likes · 39 min read
How JDHybrid Offline Loading Supercharges Mobile App Performance
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 7, 2022 · Mobile Development

Embedding Jetpack Compose in RecyclerView with ComposeView and Dispose Strategies

This article explains how to embed Jetpack Compose within an existing RecyclerView using ComposeView, examines the default DisposeOnDetachedFromWindow strategy, its impact on view recycling, and presents alternative composition strategies such as DisposeOnViewTreeLifecycleDestroyed and the newer pooling-aware strategy to improve performance.

AndroidComposeComposeView
0 likes · 11 min read
Embedding Jetpack Compose in RecyclerView with ComposeView and Dispose Strategies
JD Retail Technology
JD Retail Technology
Jul 6, 2022 · Mobile Development

R File Slimming and ID Inlining for Android Pluginized Applications

This article examines the problem of growing APK sizes caused by R.java files in JD.com's Android pluginized client, analyzes the feasibility of R file slimming, and presents a Gradle Transform and ASM‑based solution that inlines resource IDs, removes R files, and achieves 3‑5% size reduction without noticeable build‑time impact.

APK sizeAndroidGradle Plugin
0 likes · 12 min read
R File Slimming and ID Inlining for Android Pluginized Applications
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 2, 2022 · Mobile Development

Migrating from the Deprecated Transform API to AsmClassVisitorFactory in Android Gradle Plugin 7.x

This article explains why the Transform API is deprecated in AGP 7.0, introduces the new AsmClassVisitorFactory‑based API, compares code examples, discusses performance benefits and drawbacks, and provides guidance for migrating Android Gradle plugins to the newer variant and artifact system.

AndroidAsmClassVisitorFactoryGradle
0 likes · 17 min read
Migrating from the Deprecated Transform API to AsmClassVisitorFactory in Android Gradle Plugin 7.x
OPPO Amber Lab
OPPO Amber Lab
Jun 29, 2022 · Information Security

Inside Android Bluetooth: Three Critical CVEs and Their Exploits

This article examines the complexity of the Bluetooth protocol stack, focusing on Android’s Host layer vulnerabilities, and provides detailed analyses of three critical CVEs—CVE‑2020‑27024 (SMP), CVE‑2021‑0918 (GATT), and CVE‑2021‑39805 (L2CAP)—including protocol overviews, code excerpts, and exploitation paths.

AndroidBluetoothCVE
0 likes · 13 min read
Inside Android Bluetooth: Three Critical CVEs and Their Exploits
HomeTech
HomeTech
Jun 21, 2022 · Mobile Development

Design and Implementation of an Automated IM Entry Inspection Tool for Mobile Apps

This article presents the design, technical selection, and system architecture of an automated IM entry inspection tool built with AutoJs for Android, detailing script stability strategies, dynamic script distribution, JSON and image comparison methods, and the achieved benefits and future enhancements for mobile app monitoring.

AndroidApp MonitoringAutoJs
0 likes · 14 min read
Design and Implementation of an Automated IM Entry Inspection Tool for Mobile Apps
Yang Money Pot Technology Team
Yang Money Pot Technology Team
Jun 21, 2022 · Mobile Development

Understanding Kotlin Coroutines: Continuations, Suspend Functions, and Practical Applications

This article explains how Kotlin coroutines work under the hood by turning callback‑based code into state‑machine continuations, demonstrates the role of the Continuation interface and suspend functions, and shows practical patterns such as suspendCoroutine, custom DSLs, and a PendingData utility for managing asynchronous UI flows like home‑page pop‑ups in Android.

AndroidContinuationCoroutines
0 likes · 29 min read
Understanding Kotlin Coroutines: Continuations, Suspend Functions, and Practical Applications
Alibaba Terminal Technology
Alibaba Terminal Technology
Jun 21, 2022 · Mobile Development

How to Upgrade Android Target SDK from 28 to 31: Challenges, Solutions & Best Practices

This article explains why Android Target SDK versions act as a bridge between apps and the system, details Gaode Map's migration from Target 28 to 31, outlines the technical and privacy challenges involved, and provides concrete adaptation steps for storage, Bluetooth, location, package visibility, and other compliance requirements.

AndroidTarget SDKpermissions
0 likes · 24 min read
How to Upgrade Android Target SDK from 28 to 31: Challenges, Solutions & Best Practices
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 21, 2022 · Information Security

Master Frida: Hook Android Apps with Advanced Techniques

This tutorial walks you through using Frida to hook Android applications, covering API basics, method interception, constructor and field manipulation, overload handling, dynamic class loading, and practical code snippets for both static and instance methods, all while emphasizing safe, educational use.

AndroidFridaHooking
0 likes · 19 min read
Master Frida: Hook Android Apps with Advanced Techniques
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.

AndroidPerformancemulti-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 sizeAndroidPerformance
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.

AndroidBuild ToolsELF
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.

AndroidDesign ToolsSketch
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.

AndroidKuaishoudevice optimization
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.

ARTAndroidBytecode
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 OptimizationCI/CD
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 ProcessingDesign Principles
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.

AndroidBugReportPerformance
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 ThreadSource Code Analysis
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.

AndroidCold StartSystrace
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.

AndroidDeeplinkcaching
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 FrameworkAndroidUI
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.

AndroidBytecodeDEX
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.

ANRAndroidDebugging
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.

AndroidCIFlank
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.

AndroidDebuggingLayout
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.

ABIAndroidBuild Tools
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.

APKAndroidBytecode
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