Tagged articles

Android

1864 articles · Page 5 of 19
Architect
Architect
Oct 8, 2023 · Backend Development

Deep Dive into OkHttp: Core Principles, Interceptor Chain, and Practical Usage

This article provides a comprehensive analysis of OkHttp’s source code, explaining its request‑execution flow, layered architecture, interceptor chain design, and demonstrates how to implement custom interceptors for unified request handling in Java and Android projects.

AndroidDesignPatternHTTP
0 likes · 15 min read
Deep Dive into OkHttp: Core Principles, Interceptor Chain, and Practical Usage
Soul Technical Team
Soul Technical Team
Oct 7, 2023 · Mobile Development

Android .so Compression and Remote Loading Optimization Practices

This article details Android .so compression and remote loading techniques, covering compile‑time selection, custom Gradle tasks, runtime loading logic, size‑reduction results, bandwidth considerations, and practical flow‑control configurations to balance performance and user experience.

APK sizeAndroidCDN optimization
0 likes · 8 min read
Android .so Compression and Remote Loading Optimization Practices
Kuaishou Frontend Engineering
Kuaishou Frontend Engineering
Sep 26, 2023 · Mobile Development

Why Text Gets Cut Off in React Native – Android Measurement Deep Dive & Fixes

This article analyzes the long‑standing React Native text‑truncation issue, explains Android’s text‑measurement architecture—including Spanned, TextPaint, Layout and TextLine—examines two common truncation cases, provides concrete fixes, and proposes a runtime monitoring solution to detect and log such problems.

AndroidLayoutReact Native
0 likes · 24 min read
Why Text Gets Cut Off in React Native – Android Measurement Deep Dive & Fixes
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Sep 22, 2023 · Mobile Development

Advances in Android Memory Optimization and Linux Kernel Techniques Presented at CCF ESTC 2023

At the 2023 CCF ESTC conference, OPPO showcased its 64 KB dynamic large‑page technology that can increase memory‑access bandwidth up to sixteenfold and improve app startup and frame rates, while also co‑hosting a Linux‑kernel forum on scheduler, lock contention, memory defragmentation and hot‑cold page optimization, underscoring the company’s push for industry‑academic collaboration and future OS research.

AndroidDynamic Large PagesMemory Optimization
0 likes · 8 min read
Advances in Android Memory Optimization and Linux Kernel Techniques Presented at CCF ESTC 2023
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Sep 20, 2023 · Operations

How to Slash Android Build Times with Incremental Transform and DexMerge Tweaks

This article details a deep dive into Android Gradle build bottlenecks, analyzes the heavy Transform and dexMerge stages, and presents practical incremental build and hot‑update strategies—including code hooks, bucket handling, and dex reordering—that reduce typical build times from dozens of seconds to just a few.

AndroidBuild OptimizationDexMerge
0 likes · 20 min read
How to Slash Android Build Times with Incremental Transform and DexMerge Tweaks
DeWu Technology
DeWu Technology
Sep 18, 2023 · Mobile Development

Trimming Android XML Binary Resources to Shrink APK Size

This article explains the inner workings of Android's compiled XML format, demonstrates how to parse and manipulate its binary chunks, and presents a step‑by‑step optimization that removes namespaces and attribute names to reduce APK size by up to 28 % while handling compatibility issues.

APK size reductionAndroidKotlin
0 likes · 21 min read
Trimming Android XML Binary Resources to Shrink APK Size
Tencent Music Tech Team
Tencent Music Tech Team
Sep 18, 2023 · Mobile Development

Implementing Multi‑Stream Switching in ExoPlayer

The article explains how ExoPlayer can achieve low‑cost multi‑stream switching by merging multiple media sources and dynamically selecting tracks with DefaultTrackSelector, using decoder restarts to switch video and audio qualities, and compares this approach to adaptive DASH/HLS methods for practical Android development.

AndroidExoPlayermedia streaming
0 likes · 15 min read
Implementing Multi‑Stream Switching in ExoPlayer
OPPO Amber Lab
OPPO Amber Lab
Sep 15, 2023 · Mobile Development

Master Android Fragments: Basics, Lifecycle, Communication & Common Vulnerabilities

This article introduces Android Fragments—explaining their purpose, core functions, static and dynamic integration methods, detailed lifecycle stages, various communication patterns, and a typical security flaw involving arbitrary URL handling—providing developers and security researchers with practical insights and mitigation ideas.

AndroidFragmentcommunication
0 likes · 10 min read
Master Android Fragments: Basics, Lifecycle, Communication & Common Vulnerabilities
Tencent Music Tech Team
Tencent Music Tech Team
Sep 15, 2023 · Mobile Development

Parsing and Using NinePatch PNG Images for Resizable UI Elements

The article explains how to create, parse, and use NinePatch (.9.png) images by extracting the custom “npTc” chunk from a PNG file, building a PNGNinePatch object in Objective‑C, and converting its stretchable region data into UIEdgeInsets for resizable iOS UI elements.

AndroidCapInsetsMobile Development
0 likes · 13 min read
Parsing and Using NinePatch PNG Images for Resizable UI Elements
Huolala Tech
Huolala Tech
Sep 12, 2023 · Mobile Development

Mastering Gradle: Lifecycle, Tasks, and Plugin Development for Android

This comprehensive guide walks through Gradle fundamentals—including the initialization, configuration, and execution phases—explains task creation, ordering, and incremental builds, demonstrates custom tasks and small examples, and shows three ways to build and publish Gradle plugins with ASM bytecode instrumentation for Android projects.

ASMAndroidGradle
0 likes · 16 min read
Mastering Gradle: Lifecycle, Tasks, and Plugin Development for Android
Bilibili Tech
Bilibili Tech
Aug 29, 2023 · Mobile Development

Designing a Multi‑Scope Architecture for Bilibili’s Integrated Playback Page Using Dagger and Kotlin Coroutines

To merge Bilibili’s UGC and OGV playback pages, the team built a multi‑scope architecture that aligns Dagger‑managed dependency‑injection components with Kotlin CoroutineScopes—PageScope, BizScope, and VideoPlayScope—so each business module is instantiated only when needed, automatically disposed with its parent lifecycle, and remains memory‑leak‑free.

AndroidCoroutinesDAgger
0 likes · 19 min read
Designing a Multi‑Scope Architecture for Bilibili’s Integrated Playback Page Using Dagger and Kotlin Coroutines
Baidu Geek Talk
Baidu Geek Talk
Aug 23, 2023 · Mobile Development

Why MMKV Can Stall Your Mobile App and How to Fix It

The article analyzes IO‑intensive bottlenecks in mobile apps, explains how MMKV’s mmap‑based storage, rewrite, and expansion mechanisms cause main‑thread stalls, and presents concrete optimizations such as value comparison before write, pre‑expansion, compression, expiration handling, and proper instance management to dramatically reduce latency.

AndroidIO optimizationMMKV
0 likes · 26 min read
Why MMKV Can Stall Your Mobile App and How to Fix It
JD Tech
JD Tech
Aug 16, 2023 · Mobile Development

APK Shrinking Practices for JD Finance Android App

This article details the systematic reduction of the JD Finance Android app's APK size from 117 MB to 74 MB between 2019 and 2022, covering background analysis, APK and SDK component breakdown, a series of optimization techniques—including image processing, resource inlining, compression tools, dynamic SO loading, and pluginization—plus governance, results, and future plans.

APKAndroidGradle
0 likes · 20 min read
APK Shrinking Practices for JD Finance Android App
Tencent Music Tech Team
Tencent Music Tech Team
Aug 15, 2023 · Mobile Development

Audio‑Video Synchronization Techniques and ExoPlayer Implementation Details

The article explains audio‑video synchronization fundamentals, user tolerance limits, four sync strategies, and then details ExoPlayer’s audio‑master architecture—two clocks, media‑clock selection, frame‑dropping logic, and how to inject custom clocks—while also addressing Android AudioTrack jitter and work‑arounds.

AndroidExoPlayerMedia Playback
0 likes · 20 min read
Audio‑Video Synchronization Techniques and ExoPlayer Implementation Details
Ximalaya Technology Team
Ximalaya Technology Team
Aug 12, 2023 · Mobile Development

Why Android 8+ Blocks startService in Background and How startForegroundService Avoids Crashes

This article explains the Android 8.1+ restriction that prevents background apps from using startService, details the internal flow that leads to a Not allowed to start service crash, shows how startForegroundService works with a mandatory foreground notification timeout, and provides code‑level analysis of the ANR and crash “bombs”, UID idle handling, and practical mitigation strategies.

ANRAndroidCrash
0 likes · 41 min read
Why Android 8+ Blocks startService in Background and How startForegroundService Avoids Crashes
Ximalaya Technology Team
Ximalaya Technology Team
Aug 11, 2023 · Mobile Development

Simplifying Android Network Requests with Kotlin Coroutines

By converting Android network calls from callback‑based listeners to Kotlin coroutines, the code becomes sequential, eliminates duplicated UI‑state checks, centralizes loading handling, supports parallel requests with async/await, and integrates with lifecycleScope for automatic cancellation, greatly improving readability and safety.

AndroidAsync ProgrammingCoroutines
0 likes · 15 min read
Simplifying Android Network Requests with Kotlin Coroutines
Sohu Tech Products
Sohu Tech Products
Aug 9, 2023 · Mobile Development

Understanding ViewPager2 OffscreenPageLimit and Its Performance Impact

This article explains the OffscreenPageLimit attribute of ViewPager2, how it controls off‑screen page loading, compares its default values with ViewPager, shows code implementations, analyzes performance trade‑offs, and provides practical recommendations for choosing an appropriate limit.

AndroidFragmentOffscreenPageLimit
0 likes · 16 min read
Understanding ViewPager2 OffscreenPageLimit and Its Performance Impact
37 Interactive Technology Team
37 Interactive Technology Team
Aug 7, 2023 · Mobile Development

Understanding and Analyzing Android ANR (Application Not Responding)

Android ANR occurs when the UI thread is blocked, triggered by time‑outs such as KeyDispatch, Broadcast, Service or ContentProvider, often caused by long I/O, deadlocks, Binder calls or resource exhaustion; diagnosing involves examining traces.txt, thread states, CPU/memory metrics, and using tools like Looper logs, Choreographer, or Tencent Matrix to prevent future freezes.

ANRAndroidCPU
0 likes · 26 min read
Understanding and Analyzing Android ANR (Application Not Responding)
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Aug 4, 2023 · Mobile Development

Understanding VSync and Its Implementation in Android

The article explains VSync’s origin, how it prevents screen tearing by synchronizing frame rendering with display refresh, and details Android’s implementation—including hardware and virtual VSync, Choreographer, Triple Buffer, key classes like VsyncTracker and VSyncDispatcher, and the offset/duration concepts introduced in Android S.

AndroidDisplayGraphics
0 likes · 14 min read
Understanding VSync and Its Implementation in Android
OPPO Amber Lab
OPPO Amber Lab
Jul 28, 2023 · Information Security

How Mismatched Parcelable Read/Write Leads to Android Exploits and How to Fix Them

This article examines how inconsistencies between Parcelable serialization and deserialization in Android's Binder/Parcel mechanism can cause data misalignment, enabling attackers to craft malicious Bundles that bypass checks, and outlines various exploitation scenarios and mitigation strategies introduced in recent Android releases.

AndroidBinderParcelable
0 likes · 17 min read
How Mismatched Parcelable Read/Write Leads to Android Exploits and How to Fix Them
vivo Internet Technology
vivo Internet Technology
Jul 26, 2023 · Mobile Development

Evolution of Android Architecture Patterns: MVC, MVP, MVVM, MVI and Compose Integration

The article traces Android’s architectural evolution from MVC through MVP and MVVM to MVI, explains each pattern with code examples, shows how MVI’s unidirectional flow combined with Jetpack Compose achieves full UI‑logic‑data decoupling for serial workflows like login‑verify‑thumb‑up, and advises developers to adopt MVI + Compose for new projects.

AndroidDesign PatternsKotlin
0 likes · 29 min read
Evolution of Android Architecture Patterns: MVC, MVP, MVVM, MVI and Compose Integration
OPPO Amber Lab
OPPO Amber Lab
Jul 21, 2023 · Information Security

How ServiceFuzzer Enhances Android Native Service Security with libFuzzer

This article explains how Android native services can be securely fuzzed using libFuzzer and the ServiceFuzzer framework, detailing the architecture, instrumentation, and practical improvements that boost code‑coverage and vulnerability detection while addressing the limitations of traditional native service fuzzing.

AndroidFuzzingNative Services
0 likes · 14 min read
How ServiceFuzzer Enhances Android Native Service Security with libFuzzer
iQIYI Technical Product Team
iQIYI Technical Product Team
Jul 21, 2023 · Mobile Development

Optimizing Video Playback Startup Experience on iQIYI Mobile App

iQIYI’s mobile app reduces video startup latency by preloading data, pre‑decoding frames, pre‑creating player instances, streamlining initialization, optimizing DNS and CDN selection, and employing device‑aware decoding strategies, achieving near‑zero launch times and superior user experience while planning further audio‑track and hardware collaborations.

AndroidMobile Streamingnetwork optimization
0 likes · 8 min read
Optimizing Video Playback Startup Experience on iQIYI Mobile App
DeWu Technology
DeWu Technology
Jul 19, 2023 · Mobile Development

Resource Optimization Practices in DeWu App: Plugins, Image Compression, Deduplication, and ARSC Shrinking

DeWu reduces its APK size by removing unused plugin resources, compressing images with WebP, Guetzli, PNGQuant and Gifsicle, deduplicating and obfuscating ARSC entries, applying 7‑zip compression, delivering large assets dynamically, and continuously cleaning unused resources through compile‑time checks and runtime scanning.

APKARSCAndroid
0 likes · 15 min read
Resource Optimization Practices in DeWu App: Plugins, Image Compression, Deduplication, and ARSC Shrinking
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jul 14, 2023 · Mobile Development

Understanding Android VNDK/VSDK Snapshot Architecture

The article explains Android’s VNDK and VSDK Snapshot architecture—key parts of Treble that categorize native libraries, generate prebuilt vendor snapshots, and decouple system and vendor code to reduce fragmentation, improve build efficiency, and enable independent development of system and vendor components.

AndroidAndroid SystemTreble Architecture
0 likes · 9 min read
Understanding Android VNDK/VSDK Snapshot Architecture
OPPO Amber Lab
OPPO Amber Lab
Jul 14, 2023 · Information Security

Master Android Framework Vulnerability Hunting: Proven Methods for Beginners

This article introduces the Android Java Framework vulnerability discovery process, outlining characteristic vulnerability types, and presenting three practical methods—historical CVE analysis, feature‑based exploration, and business‑logic testing—along with step‑by‑step guidance and illustrative examples to help beginners quickly start effective Framework security research.

AndroidBug HuntingVulnerability
0 likes · 11 min read
Master Android Framework Vulnerability Hunting: Proven Methods for Beginners
Sohu Tech Products
Sohu Tech Products
Jul 12, 2023 · Mobile Development

Measuring and Locating Android App Jank Using JankStats and Stack‑Dump Techniques

This article explains how to quantify Android UI jank by calculating a jank rate, uses Jetpack's JankStats library to collect frame‑level metrics, and presents two practical methods—stack dumping and bytecode instrumentation—to pinpoint the slow functions causing stutter, complete with Kotlin code examples and performance considerations.

AndroidKotlinMobile Development
0 likes · 12 min read
Measuring and Locating Android App Jank Using JankStats and Stack‑Dump Techniques
Baidu Geek Talk
Baidu Geek Talk
Jul 10, 2023 · Mobile Development

How Baidu App Accelerated Android Startup: A Deep Dive into Launch Optimization

This article analyzes Baidu App's Android launch performance, explaining the startup process, identifying bottlenecks, and detailing practical optimizations—including task scheduling, KV storage redesign, lock improvements, and low‑level system tweaks—backed by code samples and measurable results.

AndroidLock RefactoringOptimization
0 likes · 21 min read
How Baidu App Accelerated Android Startup: A Deep Dive into Launch Optimization
ByteDance Terminal Technology
ByteDance Terminal Technology
Jul 6, 2023 · Mobile Development

In-depth Comparison of Bazel and Gradle Build Systems for Android

This article provides a comprehensive comparison of Bazel and Gradle build systems, examining their design philosophies, concurrency, incremental compilation, configuration phases, performance benchmarks, and ecosystem support, particularly in the context of large‑scale Android monorepo projects, to help developers choose the appropriate tool.

AndroidBazelGradle
0 likes · 26 min read
In-depth Comparison of Bazel and Gradle Build Systems for Android
Baidu App Technology
Baidu App Technology
Jul 5, 2023 · Mobile Development

Baidu App Android Startup Performance Optimization: Theory, Tools, and Practical Implementations

Baidu dramatically accelerated its Android app’s launch by dissecting the cold‑start sequence, applying full‑path analysis, leveraging tracing tools, introducing a priority‑aware task‑scheduling framework, replacing SharedPreferences with the binary UniKV store, eliminating lock contention, and tightening thread, I/O, and library loading, which together cut ANR rates and boosted user retention.

ANRAndroidKV storage
0 likes · 24 min read
Baidu App Android Startup Performance Optimization: Theory, Tools, and Practical Implementations
Qunar Tech Salon
Qunar Tech Salon
Jul 5, 2023 · Mobile Development

Long‑Term Client Crash Governance Mechanism at Qunar: Architecture, Detection, and Resolution Strategies

This article describes Qunar's systematic client crash governance framework, covering background challenges, APM‑based fast problem discovery, multi‑level alerting, common‑issue remediation, code‑level fixes for URL and Bundle size crashes, detection tools, code checks, automated testing, and the measurable improvements achieved in Android and iOS stability.

APMAndroidCrash Monitoring
0 likes · 19 min read
Long‑Term Client Crash Governance Mechanism at Qunar: Architecture, Detection, and Resolution Strategies
Baidu Tech Salon
Baidu Tech Salon
Jul 4, 2023 · Information Security

Implementation and Practice of DEX‑VMP Code Protection for Android Applications

The article details how Android developers can protect APK dex files by progressively hardening code—using dynamic loading, hooking, instruction extraction, java‑to‑C++ conversion, and ultimately DEX‑VMP virtual machine encryption—while outlining implementation steps, custom opcodes, JNI integration, and addressing compatibility and performance trade‑offs.

AndroidDEXVMP
0 likes · 17 min read
Implementation and Practice of DEX‑VMP Code Protection for Android Applications
Kuaishou E-commerce Frontend Team
Kuaishou E-commerce Frontend Team
Jul 3, 2023 · Mobile Development

How to Handle Soft Keyboard Overlap in iOS, Android, and React Native

This article examines the differing behaviors of soft keyboards on iOS and Android in both H5 and React Native environments, identifies the challenges they cause for popup and textarea components, and presents cross‑platform solutions using KeyboardAvoidingView, resize listeners, and RN keyboard events to ensure input fields remain visible.

AndroidMobile UIReact Native
0 likes · 7 min read
How to Handle Soft Keyboard Overlap in iOS, Android, and React Native
Baidu Geek Talk
Baidu Geek Talk
Jul 3, 2023 · Mobile Development

Sweep Light Loading Effects: Principles and Cross‑Platform Implementation

Sweep‑light loading effects, such as skeleton‑screen and logo sweeps, improve perceived performance by overlaying a moving translucent gradient mask, and can be implemented on iOS using Core Animation layers and timers, while Android uses shape drawables, ObjectAnimator or Canvas PorterDuff blending, with theme and performance considerations.

AndroidCanvasCoreAnimation
0 likes · 16 min read
Sweep Light Loading Effects: Principles and Cross‑Platform Implementation
DeWu Technology
DeWu Technology
Jun 30, 2023 · Mobile Development

Optimizing Android CPU Frequency, Core Affinity, and Thread Priority

The article explains how to boost Android app performance by programmatically raising CPU frequency using Qualcomm’s BoostFramework, setting thread‑core affinity with native sched_setaffinity calls, and increasing execution priority via Process.setThreadPriority, providing Kotlin and C examples that demonstrate measurable speed gains.

AndroidCPU OptimizationKotlin
0 likes · 20 min read
Optimizing Android CPU Frequency, Core Affinity, and Thread Priority
Baidu Geek Talk
Baidu Geek Talk
Jun 28, 2023 · Information Security

DEX‑VMP Based Android Code Protection: Design, Implementation, and Analysis

The paper presents a DEX‑VMP scheme that encrypts Dalvik bytecode and executes it via a custom virtual machine and JNI bridge, merging the strengths of dynamic loading, hooking, instruction extraction, and java‑to‑C++ conversion while highlighting compatibility issues, performance overhead, and the need for selective protection of high‑value Android methods.

AndroidDEXJNI
0 likes · 17 min read
DEX‑VMP Based Android Code Protection: Design, Implementation, and Analysis
OPPO Amber Lab
OPPO Amber Lab
Jun 28, 2023 · Mobile Development

Unveiling Android NFC: From App to Kernel – A Deep Source Code Walkthrough

This article dissects Android's NFC implementation, detailing the layered architecture from the high‑level app down to the kernel driver, explaining each source‑code component, the initialization sequence, and how events travel through JNI, HAL, and the transport‑mapping layer to enable NFC functionality.

AndroidJNINFC
0 likes · 17 min read
Unveiling Android NFC: From App to Kernel – A Deep Source Code Walkthrough
21CTO
21CTO
Jun 27, 2023 · Fundamentals

Why Big Tech Is Rewriting Kernels in Rust: Memory Safety Meets Performance

The article explores how Rust's memory‑safety and efficiency are driving major companies like Microsoft, Google, and Amazon to rewrite operating‑system components and cloud services, while also tracing Rust’s quirky origins, rapid rise in popularity, and the challenges it still faces.

AndroidLinux kernelRust
0 likes · 10 min read
Why Big Tech Is Rewriting Kernels in Rust: Memory Safety Meets Performance
Huolala Tech
Huolala Tech
Jun 20, 2023 · Mobile Development

How to Prevent Webview Layout Breakage When Users Enable Large Font Mode

This article examines how enabling system-wide large‑font mode on Android and iOS can distort Webview layouts for driver‑focused apps, presents data on user font‑size usage, compares approaches from other apps, and offers practical CSS and code solutions to reliably disable or adapt to large fonts.

AndroidCSSLarge Font
0 likes · 11 min read
How to Prevent Webview Layout Breakage When Users Enable Large Font Mode
Alibaba Terminal Technology
Alibaba Terminal Technology
Jun 15, 2023 · Mobile Development

How DingTalk Tackles Android Power Drain: A Deep Dive into Mobile Power Optimization

This article explains DingTalk's systematic approach to diagnosing and reducing excessive battery consumption on Android, covering background issues, challenges, monitoring techniques, component-level power tracking, abnormal power detection, health scoring, and practical optimizations such as low‑power mode and governance strategies.

AndroidPower Optimizationbattery
0 likes · 25 min read
How DingTalk Tackles Android Power Drain: A Deep Dive into Mobile Power Optimization
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jun 2, 2023 · Mobile Development

Android File‑Based Encryption (FBE) Key Management and Architecture Overview

The article explains Android’s multi‑layered file‑based encryption system, describing how FDE, FBE and metadata encryption work together, and detailing the end‑to‑end key‑management flow that spans the HAL, VOLD, Linux kernel, fscrypt, the Trusted Execution Environment and hardware crypto engines to generate, derive, and program per‑file encryption keys.

AndroidFile-Based EncryptionKey Management
0 likes · 21 min read
Android File‑Based Encryption (FBE) Key Management and Architecture Overview
Watermelon Video Tech Team
Watermelon Video Tech Team
Jun 2, 2023 · Mobile Development

Custom Baseline Profiles Optimization for Android Apps: Design, Implementation, and Evaluation

This article describes the background of Android code execution, the evolution from full AOT to JIT+AOT and Cloud Profiles, the limitations of Google Baseline Profiles, and presents a custom Gradle‑based solution that generates baseline.prof files for all AGP versions, integrates with the installation pipeline, collaborates with OEMs, and demonstrates measurable cold‑start improvements.

AOTAndroidBaseline Profiles
0 likes · 29 min read
Custom Baseline Profiles Optimization for Android Apps: Design, Implementation, and Evaluation
DaTaobao Tech
DaTaobao Tech
May 31, 2023 · Mobile Development

From Intern to Senior Engineer: Lessons on Writing Quality Android Code

This article shares a senior engineer’s journey from internships to three years at Taobao, offering practical advice on writing readable, high‑performance Android code, mastering design principles, handling performance metrics, and maintaining a growth mindset while contributing to a mobile‑focused tech team.

APMAndroidDesign Patterns
0 likes · 13 min read
From Intern to Senior Engineer: Lessons on Writing Quality Android Code
Huolala Tech
Huolala Tech
May 30, 2023 · Mobile Development

How to Dynamically Manage Android Resources and Shrink APK Size

This article explains the design and implementation of a dynamic resource management system for Android apps, covering the motivation for reducing APK size, the architecture of the dynamicresbase, dynamicrescore, and dynamicresplugin modules, resource loading and application processes, Gradle plugin tasks, code transformation, and practical tips for handling .so libraries.

APK OptimizationAndroidDynamic Loading
0 likes · 31 min read
How to Dynamically Manage Android Resources and Shrink APK Size
37 Interactive Technology Team
37 Interactive Technology Team
May 22, 2023 · Mobile Development

Gradle Build Optimization for Android Projects: Analysis, Debugging, and Configuration

The article demonstrates a systematic approach to speeding up large Android Gradle builds by inspecting logs, stack traces, debugging plugins, profiling task execution with a custom plugin, and applying on‑demand configuration, caching, incremental and parallel compilation settings, which together cut build time by roughly 40 %.

AndroidBuild OptimizationGradle
0 likes · 12 min read
Gradle Build Optimization for Android Projects: Analysis, Debugging, and Configuration
21CTO
21CTO
May 19, 2023 · Artificial Intelligence

OpenAI’s ChatGPT iOS App Launches – Android Version Coming Soon

OpenAI has released a free iOS ChatGPT app with Whisper‑powered voice input and syncable chat history, promises an Android version in the coming weeks, and highlights speed improvements, privacy features, and its impact on third‑party alternatives.

AIAndroidChatGPT
0 likes · 4 min read
OpenAI’s ChatGPT iOS App Launches – Android Version Coming Soon
Meituan Technology Team
Meituan Technology Team
May 18, 2023 · Mobile Development

Adapting Meituan's Android Robust Hot‑Fix Framework to R8 and Optimization Strategies

The article explains how Meituan migrated its method‑instrumentation hot‑fix system Robust from ProGuard to Google’s R8 by moving change detection ahead of optimization, disabling or tuning R8’s built‑in optimizations, and implementing special handling for anonymous classes, inlined methods, super calls, constructors and static initializers to ensure reliable patch generation.

AndroidHotfixR8
0 likes · 21 min read
Adapting Meituan's Android Robust Hot‑Fix Framework to R8 and Optimization Strategies
vivo Internet Technology
vivo Internet Technology
May 17, 2023 · Mobile Development

Deep Dive into OkHttp: Core Principles, Interceptor Chain, and Practical Usage

By dissecting OkHttp’s source, the article explains its layered architecture, the interceptor‑chain implementation of the Chain‑of‑Responsibility pattern, and shows how developers can add custom interceptors—such as authentication headers—to uniformly handle requests, retries, caching, and network I/O in Java and Android.

AndroidDesign PatternsHTTP
0 likes · 16 min read
Deep Dive into OkHttp: Core Principles, Interceptor Chain, and Practical Usage
Tencent Cloud Developer
Tencent Cloud Developer
May 17, 2023 · Game Development

King of Glory Map Integration: UI Framework, Method Calls, and Cross‑Platform Event Handling

The article details a cross‑platform solution for embedding the King of Glory map into Unity, describing a native Android view integration, a three‑layer UI framework with JCE definitions, data‑driven method calls and callbacks, coordinate scaling, immersive mode handling, and Nine‑Patch rendering to achieve rapid, lightweight map deployment.

AndroidCross‑PlatformJCE
0 likes · 33 min read
King of Glory Map Integration: UI Framework, Method Calls, and Cross‑Platform Event Handling
Baidu Geek Talk
Baidu Geek Talk
May 16, 2023 · Mobile Development

Common Memory Leak Issues in Android and iOS Development

The article outlines frequent memory‑leak pitfalls in Android (such as anonymous inner classes, static singletons, unregistered listeners, unclosed streams, and lingering animations) and iOS (including block retain cycles, strong delegate references, NSTimer retention, unmanaged CoreFoundation objects, and dispatch_after), and provides concrete code‑level remedies to prevent out‑of‑memory crashes.

AndroidMemory LeakMobile Development
0 likes · 13 min read
Common Memory Leak Issues in Android and iOS Development
OPPO Kernel Craftsman
OPPO Kernel Craftsman
May 12, 2023 · Mobile Development

eBPF Technology and Its Application on Android Platform

The article explains Android’s emerging eBPF support, detailing how to write, compile, load, attach, and debug BPF programs—including map handling, permission controls, perf‑event reporting, and practical debugging steps—while highlighting its current preliminary status and vast potential for kernel‑level monitoring on mobile devices.

AndroidBPF mapsKernel Extension
0 likes · 9 min read
eBPF Technology and Its Application on Android Platform
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
May 11, 2023 · Mobile Development

Boost Android Local Search Speed with JavaScriptCore and JNI

This article explains how to improve Android local‑search latency by embedding JavaScriptCore via JNI, detailing the performance bottlenecks, the integration workflow, essential JSC APIs, JNI usage patterns, and concrete C++/Java code examples that cut processing time by roughly half.

AndroidC++JNI
0 likes · 10 min read
Boost Android Local Search Speed with JavaScriptCore and JNI
37 Interactive Technology Team
37 Interactive Technology Team
May 8, 2023 · Information Security

Android Reverse Engineering: Process, Tools, and Code Examples

Android reverse engineering involves extracting an APK, decompiling it with tools like apktool, dex2jar, or JADX, analyzing and modifying Smali or Java code, recompiling and signing the package with jarsigner, and testing the changes, while using adb commands to retrieve the original file and emphasizing deeper analysis for robust security.

APKAPKToolAndroid
0 likes · 10 min read
Android Reverse Engineering: Process, Tools, and Code Examples
DaTaobao Tech
DaTaobao Tech
May 8, 2023 · Mobile Development

Evolution of Taobao's Unified Mobile Network Library (AWCN)

The article traces the evolution of Taobao’s unified mobile network library AWCN, detailing its MobileSDN architecture across north‑bound and south‑bound layers, key techniques such as IP‑list scheduling, adaptive protocol selection, multi‑path request handling and vendor acceleration, the challenges faced, performance gains observed during high‑traffic events, and future plans for finer network sensing and intelligent scheduling.

AndroidHTTP/2Mobile Networking
0 likes · 22 min read
Evolution of Taobao's Unified Mobile Network Library (AWCN)
Sohu Tech Products
Sohu Tech Products
May 4, 2023 · Mobile Development

Understanding Kotlin Lazy Initialization: Usage, Source Code Analysis, and Best Practices

This article explains Kotlin's lazy initialization feature, describes its common usage patterns, dives into the internal source‑code implementations (Synchronized, Publication, and None), discusses thread‑safety concepts such as volatile and CAS, and provides practical recommendations for Android developers.

AndroidKotlinLazy Initialization
0 likes · 11 min read
Understanding Kotlin Lazy Initialization: Usage, Source Code Analysis, and Best Practices
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Apr 21, 2023 · Mobile Development

Android Method Tracing: Implementation and Principles

Android method tracing, a Google‑provided Java‑level profiling tool, captures function‑level execution times via sampling or explicit enter/exit hooks, outlines its startup flow and collection categories, and describes recent Android advances such as JIT‑generated hooks and instrument‑based replacement of trace‑odex support.

AndroidAndroid developmentMethod Tracing
0 likes · 9 min read
Android Method Tracing: Implementation and Principles
Sohu Tech Products
Sohu Tech Products
Apr 19, 2023 · Mobile Development

Kotlin Multiplatform Mobile (KMM): Overview, Setup, Architecture, and Build Process

This article provides a comprehensive guide to Kotlin Multiplatform Mobile (KMM), covering its concepts, advantages over other cross‑platform frameworks, detailed setup steps, project structure, Gradle configuration, code examples for shared and platform‑specific modules, and an in‑depth explanation of the Android and iOS compilation pipelines.

AndroidGradleKMM
0 likes · 21 min read
Kotlin Multiplatform Mobile (KMM): Overview, Setup, Architecture, and Build Process
IT Services Circle
IT Services Circle
Apr 17, 2023 · Mobile Development

Android 14 Beta 1 Released with New Features and Privacy Enhancements

Google has launched Android 14 Beta 1 for general users, allowing Pixel devices to upgrade while warning of potential installation errors, and introduces a series of incremental improvements such as enhanced PIN privacy, a transparent navigation bar, restored volume controls, BLE audio settings, and updated photo/video permissions.

AndroidBetaMobile Development
0 likes · 4 min read
Android 14 Beta 1 Released with New Features and Privacy Enhancements
Tuanzi Tech Team
Tuanzi Tech Team
Apr 15, 2023 · Mobile Development

How to Choose the Right WebView and JSBridge for Cross‑Platform Mobile Apps

This guide explains how to improve development efficiency by selecting appropriate cross‑platform technologies such as Uni‑app, Taro, or Kbone combined with JSBridge, outlines suitable scenarios, compares Android and iOS WebView kernels, and provides practical code examples for implementing bidirectional communication.

AndroidJSBridgeMobile Development
0 likes · 9 min read
How to Choose the Right WebView and JSBridge for Cross‑Platform Mobile Apps
Sohu Tech Products
Sohu Tech Products
Apr 12, 2023 · Mobile Development

HorStickyNavLayout: A Sticky Navigation Layout for RecyclerView with Interactive Prompt

This article introduces HorStickyNavLayout, a custom Android ViewGroup that enhances RecyclerView horizontal scrolling with a sticky footer prompting users to discover more content, detailing its architecture, nested scrolling handling, fling behavior, and animation logic to improve interaction without extra item views.

AndroidCustom ViewMobile Development
0 likes · 7 min read
HorStickyNavLayout: A Sticky Navigation Layout for RecyclerView with Interactive Prompt
vivo Internet Technology
vivo Internet Technology
Apr 12, 2023 · Mobile Development

Exploring FLAG_ACTIVITY_NEW_TASK and Activity Stack Validation in Android

The article investigates a real‑world Android navigation bug by dissecting how FLAG_ACTIVITY_NEW_TASK interacts with launch modes, task affinities and intent construction, revealing that the flag does not always behave like singleTask, that START_DELIVERED_TO_TOP may fail to deliver new intents, and offering debugging steps and practical fixes.

ActivityAndroidFLAG_ACTIVITY_NEW_TASK
0 likes · 23 min read
Exploring FLAG_ACTIVITY_NEW_TASK and Activity Stack Validation in Android
ByteDance Terminal Technology
ByteDance Terminal Technology
Apr 7, 2023 · Mobile Development

Plugin Framework Overview and Performance Optimizations for Android Applications

This article examines the evolution stages of a plugin framework, analyzes performance bottlenecks such as Multidex, Dex2Oat, and class loading on Android devices, and presents detailed optimization strategies—including timing adjustments, forced compilation commands, and native class‑loader hook replacements—to improve app responsiveness and reduce ANR occurrences.

AndroidClass LoadingMultidex
0 likes · 24 min read
Plugin Framework Overview and Performance Optimizations for Android Applications
Sohu Tech Products
Sohu Tech Products
Apr 6, 2023 · Mobile Development

Deep Dive into Android Activity Launch Process and Framework Implementation

This article provides an in‑depth analysis of Android’s Activity launch mechanism, tracing the client‑side startActivity call through the framework layers, system_server services, AIDL interfaces, transaction handling, and the execution of lifecycle callbacks such as onCreate, onStart, and onResume, with extensive code excerpts.

AIDLActivityAndroid
0 likes · 31 min read
Deep Dive into Android Activity Launch Process and Framework Implementation
Huolala Tech
Huolala Tech
Apr 4, 2023 · Mobile Development

How Huolala Scaled a Cloud Real‑Device Platform for Mobile Testing

This article details Huolala's evolution from a simple wireless ADB setup to the sophisticated TianGong system, covering architecture, video streaming, input handling, large‑scale device pool management, and future plans for intelligent scheduling and iOS optimization.

AndroidVideo Streamingautomation
0 likes · 17 min read
How Huolala Scaled a Cloud Real‑Device Platform for Mobile Testing
Tencent Cloud Developer
Tencent Cloud Developer
Apr 3, 2023 · Mobile Development

Android Accessibility Framework for WeChat: Design, Implementation, and Walk‑through Tools

WeChat’s Android accessibility framework abstracts common perceivable, operable, and understandable requirements into reusable rules, automatically enlarges touch targets, generates unified content descriptions, and includes a walk‑through verification service, enabling developers to efficiently implement scalable accessibility features for millions of visually or hearing‑impaired users.

Accessibility FrameworkAccessibilityServiceAndroid
0 likes · 16 min read
Android Accessibility Framework for WeChat: Design, Implementation, and Walk‑through Tools
Python Programming Learning Circle
Python Programming Learning Circle
Mar 31, 2023 · Information Security

Backdoors in Software: Real-World Cases, Legal Perspectives, and Security Implications

The article recounts real-world examples of hidden backdoors in software—from an Android ROM project and Ken Thompson’s compiler-level exploit—to discuss their legal ambiguity in China, highlight the challenges of detection, and conclude with a call for developers to share their own experiences, alongside a promotional Python course.

AndroidLegalSoftware Security
0 likes · 6 min read
Backdoors in Software: Real-World Cases, Legal Perspectives, and Security Implications
Soul Technical Team
Soul Technical Team
Mar 29, 2023 · Mobile Development

Crash Governance and Stability Practices for Mobile Applications

This article describes a comprehensive crash governance framework for a fast‑growing mobile app, covering monitoring, root‑cause attribution, systematic remediation steps, and detailed case studies—including MIUI system bugs, 32‑bit address‑space limits, memory corruption, and WebView crashes—while outlining future challenges and automation strategies.

AndroidCrash ManagementHotfix
0 likes · 13 min read
Crash Governance and Stability Practices for Mobile Applications
JD Tech
JD Tech
Mar 28, 2023 · Mobile Development

Foldable Screen Adaptation for JD Mini‑Program on Android

This article examines the growing trend of foldable Android screens, outlines the challenges JD mini‑programs face when adapting to such devices, and presents practical solutions including resizable activities, aspect‑ratio handling, configuration‑change management, rpx units, and engine‑level fixes to ensure seamless user experience across inner and outer screens.

Androidconfiguration changesfoldable screen
0 likes · 15 min read
Foldable Screen Adaptation for JD Mini‑Program on Android
JD Cloud Developers
JD Cloud Developers
Mar 28, 2023 · Mobile Development

How We Cut a 117 MB Android App to 74 MB: Proven APK Shrink Strategies

Facing rapid growth of its Android app size beyond 117 MB, JD Finance implemented a comprehensive APK slimming project in 2022, analyzing APK components, SDKs, and ZIP structure, then applying image optimization, R‑file inlining, resource obfuscation, dynamic SO loading, and build‑time configurations to reduce the package to 74 MB and improve download conversion rates.

APKAndroidApp Size
0 likes · 20 min read
How We Cut a 117 MB Android App to 74 MB: Proven APK Shrink Strategies
vivo Internet Technology
vivo Internet Technology
Mar 22, 2023 · Mobile Development

DropBoxManagerService Source Code Analysis and Client Log File Management Design

The article examines Android's DropBoxManagerService architecture, its configurable file retention policies, naming conventions, atomic operations, and broadcast mechanisms, then applies these patterns to propose a client‑side log management system using a producer‑consumer model with prioritized temporary storage, rename‑based reporting, and FileObserver‑driven collection respecting network, data, timing, priority, and battery constraints.

AndroidDropBoxManagerServiceFile System
0 likes · 14 min read
DropBoxManagerService Source Code Analysis and Client Log File Management Design
Youku Technology
Youku Technology
Mar 22, 2023 · Mobile Development

How to Adapt a Video Player for Foldable Screens: The OnePlayer Case Study

This article presents a detailed technical analysis of adapting the Youku video player for foldable-screen devices, covering background trends, dual-mode UI designs, the OnePlayer plugin framework, configuration strategies, layout adjustments, testing methods, and future enhancement ideas.

AndroidOnePlayerUI adaptation
0 likes · 18 min read
How to Adapt a Video Player for Foldable Screens: The OnePlayer Case Study
HomeTech
HomeTech
Mar 22, 2023 · Mobile Development

Optimizing Complex Android Layout Rendering Performance

This article analyzes Android layout rendering performance issues and presents optimization strategies including AsyncLayoutInflater, X2C framework, and custom view factory approaches to reduce rendering time by 20-35%.

AndroidAsyncLayoutInflaterMobile Development
0 likes · 10 min read
Optimizing Complex Android Layout Rendering Performance
Alibaba Terminal Technology
Alibaba Terminal Technology
Mar 16, 2023 · Mobile Development

Unlock Android JVMTI: Bypass Debug Limits and Build Powerful Profilers

This article explains how Android's JVMTI (ART Tooling Interface) works, details its monitoring capabilities, shows how to overcome debug‑only restrictions by modifying JDWP and Runtime flags, and describes the TBProfiler tool that leverages JVMTI for method, thread, exception, lock, and memory profiling in production apps.

AndroidJVMTIMemory
0 likes · 25 min read
Unlock Android JVMTI: Bypass Debug Limits and Build Powerful Profilers
JD Retail Technology
JD Retail Technology
Mar 10, 2023 · Mobile Development

Foldable Screen Adaptation for Android Apps and JD Mini-Programs

This article explains the challenges and solutions for adapting Android applications and JD mini‑programs to foldable screens, covering activity resizable settings, aspect‑ratio handling, configuration change management, multi‑window considerations, and specific strategies for ensuring seamless user experience across inner and outer displays.

AndroidConfigurationChangesFoldableScreen
0 likes · 12 min read
Foldable Screen Adaptation for Android Apps and JD Mini-Programs
Sohu Tech Products
Sohu Tech Products
Mar 8, 2023 · Mobile Development

Android Image Compression Techniques and Luban Algorithm Analysis

This article provides a comprehensive overview of Android image compression, covering bitmap fundamentals, ARGB color model, size calculations, quality and dimension compression methods, the Luban algorithm, its implementation details, performance considerations, and related JPEG Huffman coding techniques.

AndroidBitmapJPEG
0 likes · 27 min read
Android Image Compression Techniques and Luban Algorithm Analysis
Sohu Tech Products
Sohu Tech Products
Mar 8, 2023 · Mobile Development

Deep Dive into Android Touch Event Processing: From Kernel to View

This article explains how Android transforms raw touch signals from the hardware into MotionEvent objects, routes them through the InputManagerService, InputReader, and InputDispatcher, and finally delivers them to the appropriate View or ViewGroup, detailing the roles of sockets, InputChannel, and the event‑dispatch chain.

AndroidInputDispatcherInputSystem
0 likes · 48 min read
Deep Dive into Android Touch Event Processing: From Kernel to View
Sohu Tech Products
Sohu Tech Products
Feb 22, 2023 · Mobile Development

Introducing CameraViewfinder: Simplify Resizable Camera Preview on Android

This article explains how Android developers can use the new Jetpack CameraViewfinder component to implement reliable, resizable camera previews across diverse device form factors—including foldables and multi‑window modes—by adding the library, configuring layout XML, and handling surface requests with concise Kotlin code examples.

AndroidCamera2CameraViewfinder
0 likes · 7 min read
Introducing CameraViewfinder: Simplify Resizable Camera Preview on Android
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Feb 17, 2023 · Mobile Development

Optimizing Dynamically Loaded Dex Files Across Android Versions

The article explains how dynamically loaded dex files are optimized on Android 5.0 through 12—detailing AOT compilation via dex2oat, profile‑guided filters, runtime‑filter flags, class‑loader contexts, SELinux limits, and the use of PathClassLoader or the PMS performDexOptSecondary command to achieve performance comparable to installed APKs.

AOTAndroidClassLoader
0 likes · 17 min read
Optimizing Dynamically Loaded Dex Files Across Android Versions
Alibaba Terminal Technology
Alibaba Terminal Technology
Feb 15, 2023 · Mobile Development

How ANRCanary Uncovers Hidden Android ANR Causes and Boosts App Performance

This article explains how the ANRCanary tool helps DingTalk developers identify and resolve various Android ANR scenarios—ranging from main‑thread tasks and synchronization blocks to message‑queue congestion, emoji handling, and cross‑process SharedPreferences—while sharing practical best‑practice guidelines for building reliable mobile performance tools.

ANRAndroidtooling
0 likes · 32 min read
How ANRCanary Uncovers Hidden Android ANR Causes and Boosts App Performance