Tagged articles

Android

1864 articles · Page 7 of 19
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Sep 14, 2022 · Mobile Development

Building a High‑Precision Full‑Chain Event Tracking System for Mobile Apps

This article presents a comprehensive, high‑precision, stable, and full‑link event tracking solution for iOS, Android, and H5 clients, detailing the shortcomings of traditional point‑tracking, the design of objects and a virtual tree (VTree), AOP‑based click handling, exposure tracking via VTree diffs, performance optimizations, refer‑based link tracing, and integration with H5/RN, all validated in the NetEase Cloud Music ecosystem.

AndroidFull‑Link TracingPerformance Optimization
0 likes · 24 min read
Building a High‑Precision Full‑Chain Event Tracking System for Mobile Apps
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Sep 13, 2022 · Mobile Development

React Native Dynamic List Integration in Android RecyclerView

The paper presents a React Native‑based dynamic list solution that embeds an RN container inside Android RecyclerView ViewHolders, using data‑driven rendering and pre‑loaded offline bundles to achieve middle‑to‑upper performance, modest memory use, and sub‑0.01% error rates while preserving native first‑screen speed.

AndroidDynamicListMobileDevelopment
0 likes · 14 min read
React Native Dynamic List Integration in Android RecyclerView
Huolala Tech
Huolala Tech
Sep 6, 2022 · Mobile Development

Master Android Modular Routing with TheRouter: Features, Usage, and Migration

TheRouter is a Kotlin‑based, full‑stack solution for Android modular development that provides page navigation, cross‑module dependency injection, automatic initialization, dynamic actions, and remote route table updates, offering extensive configuration, code‑free reflection, and tools for migration, debugging, and performance optimization.

AndroidDependencyInjectionDynamicRouting
0 likes · 20 min read
Master Android Modular Routing with TheRouter: Features, Usage, and Migration
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 6, 2022 · Mobile Development

Analyzing and Fixing CI Build Performance Degradation after Upgrading to JDK 11 in the Feishu Android Project

This article investigates why upgrading the Feishu Android project's CI build environment from JDK 8 to JDK 11 caused a 50% increase in build time, analyzes JVM, Gradle, and Docker interactions, and presents concrete JVM flag and environment‑variable solutions that restored parallelism and reduced build duration back to pre‑upgrade levels.

AndroidCIGradle
0 likes · 14 min read
Analyzing and Fixing CI Build Performance Degradation after Upgrading to JDK 11 in the Feishu Android Project
Baidu App Technology
Baidu App Technology
Sep 5, 2022 · Mobile Development

Automating Android Startup Performance: Perfetto Tracing, Gradle Instrumentation, and Automated Analysis

This article explains how to build a high‑precision Android startup performance pipeline by selecting the right tracing tool, extending Perfetto with custom Gradle instrumentation, handling edge‑case trace mismatches, and using Trace Processor’s Python API for automated wall‑time and CPU‑time regression detection.

AndroidGradlePerfetto
0 likes · 30 min read
Automating Android Startup Performance: Perfetto Tracing, Gradle Instrumentation, and Automated Analysis
Bilibili Tech
Bilibili Tech
Sep 2, 2022 · Game Development

Multi-Channel Packaging for Android Game Distribution: Architecture, Implementation, and Optimization

The article presents a comprehensive approach to Android game multi‑channel packaging, combining independent SDK modules with a unified proxy layer and an apktool‑based merge of manifests, resources, and smali code, automated through scripted Jenkins pipelines, which resolves dex limits, resource conflicts, and cuts packaging time from over an hour to roughly twenty minutes.

APK ToolAndroidGame Packaging
0 likes · 17 min read
Multi-Channel Packaging for Android Game Distribution: Architecture, Implementation, and Optimization
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Sep 2, 2022 · Mobile Development

How We Halved App Startup Time: A Deep Dive into Android Launch Optimization

This article details a five‑month performance project that reduced the heart‑beat app’s average launch time from over eight seconds to around four seconds by dissecting cold‑start phases, optimizing Application initialization, streamlining the launch chain, and applying home‑page, lock, and monitoring strategies.

AndroidApp LaunchMobile Development
0 likes · 30 min read
How We Halved App Startup Time: A Deep Dive into Android Launch Optimization
Alipay Experience Technology
Alipay Experience Technology
Sep 1, 2022 · Mobile Development

How Alipay Optimizes Cold-Start Performance with Spider SDK and APM

Alipay’s client engineering team details a comprehensive approach to monitoring, measuring, and improving time‑consuming user experiences—especially cold‑start—by employing video frame analysis, ActivityTaskManager, extensive instrumentation, home‑page snapshot techniques, temperature control, patch‑APK injection, AOP‑based diagnostics, and the Spider SDK within a robust APM platform.

APMAndroidcold start
0 likes · 21 min read
How Alipay Optimizes Cold-Start Performance with Spider SDK and APM
Top Architect
Top Architect
Aug 29, 2022 · Mobile Development

Understanding OkHttp: Request Flow, Dispatcher, Interceptors, Connection Reuse, and Design Patterns

This article provides a comprehensive overview of OkHttp, covering its overall request process, the role of the dispatcher, how application and network interceptors work, TCP connection reuse via the connection pool, idle‑connection cleanup, key advantages, and the design patterns employed in the framework.

AndroidDesign PatternsInterceptor
0 likes · 15 min read
Understanding OkHttp: Request Flow, Dispatcher, Interceptors, Connection Reuse, and Design Patterns
Alipay Experience Technology
Alipay Experience Technology
Aug 22, 2022 · Mobile Development

How Alipay Engineers Built a Fine‑Grained Scheduling System for Mobile Apps

This article details Alipay's evolution from basic thread pools to a sophisticated, multi‑layered scheduling framework that balances UI responsiveness, task prioritization, and resource control across Android devices, while outlining the technical challenges and future directions of fine‑grained scheduling.

AndroidPerformance Optimizationtask scheduling
0 likes · 13 min read
How Alipay Engineers Built a Fine‑Grained Scheduling System for Mobile Apps
Alipay Experience Technology
Alipay Experience Technology
Aug 11, 2022 · Mobile Development

Inject OpenGL Rendering into Android RenderThread Using drawFunctor

This article explains the background, principles, and implementation steps for using Android's drawFunctor to inject custom OpenGL rendering into the RenderThread, including C++ and Java code, handling state preservation, view transformations, context loss, and performance benefits demonstrated by memory and CPU usage comparisons.

AndroidGL injectionMobile Development
0 likes · 13 min read
Inject OpenGL Rendering into Android RenderThread Using drawFunctor
Xianyu Technology
Xianyu Technology
Aug 10, 2022 · Mobile Development

Enabling MIUI Long Screenshot in Flutter: Xianyu’s Non‑Intrusive Integration

This article details how Xianyu’s engineering team analyzed and adapted Xiaomi’s MIUI long‑screenshot capability for Flutter list pages, covering the problem background, system source investigation, scroll view detection, event proxy design, asynchronous channel and synchronous FFI communication, and performance results.

AndroidFFIFlutter
0 likes · 17 min read
Enabling MIUI Long Screenshot in Flutter: Xianyu’s Non‑Intrusive Integration
IEG Growth Platform Technology Team
IEG Growth Platform Technology Team
Aug 10, 2022 · Mobile Development

Introduction to the Shadow Android Plugin Framework

The Shadow framework, developed by Tencent, is an open‑source Android plugin solution that reuses independent app source code, employs zero‑reflection dynamic loading, minimizes host footprint, and provides detailed module architecture, component support, Flutter integration, and isolation mechanisms for stable, dynamic plugin development.

AndroidClassLoaderDynamic Loading
0 likes · 9 min read
Introduction to the Shadow Android Plugin Framework
Bilibili Tech
Bilibili Tech
Aug 5, 2022 · Mobile Development

Reducing Android Studio Sync Time by Disabling Jetifier and Migrating to AndroidX

By disabling Jetifier through a custom Gradle plugin, fully migrating all Support libraries to AndroidX, and adding CI guardrails to block legacy dependencies, the team cut Android Studio sync time by roughly two and a half minutes and improved incremental build speed by 28% without sacrificing build stability.

AndroidAndroidXBuild Optimization
0 likes · 15 min read
Reducing Android Studio Sync Time by Disabling Jetifier and Migrating to AndroidX
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.

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

AndroidJavaMobile Development
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

Understanding and Debugging Native Crashes on Android: Tombstone and Coredump Analysis

This article provides an in‑depth guide to analyzing Android native crashes, explaining common SIGSEGV types, interpreting tombstone logs, extracting register and memory information, using coredumps, and employing tools such as GDB, lldb, ASAN, HWASAN, and assembly inspection to trace and resolve crash causes.

AndroidMemory AnalysisNative Crash
0 likes · 39 min read
Understanding and Debugging Native Crashes on Android: Tombstone and Coredump Analysis
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 LoadingWebView
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.

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

@AsyncAndroidContinuation
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.

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

AndroidMemory LeakOOM
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.

AndroidPerformance OptimizationPopupWindow
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 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 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.

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.

AndroidPerformance OptimizationSystrace
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 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