Tagged articles

Android

1846 articles · Page 5 of 19
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.

AndroidAudio-Video SyncExoPlayer
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.

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

AndroidComposeDesign Patterns
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.

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

AndroidBazelBuild System
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 UIiOS
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 kernelProgramming Languages
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 EncryptionTEE
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.

AndroidBytecodeHotfix
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 PatternsInterceptor
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.

Androidbest practicesiOS
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 DevelopmentInstrumentation
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.

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

AndroidJSBridgeiOS
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 ViewRecyclerView
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.

Androidautomationcloud device platform
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.

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

AndroidMini Programconfiguration changes
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.

AndroidDropBoxManagerServiceLog Management
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%.

AndroidAsyncLayoutInflaterPerformance
0 likes · 10 min read
Optimizing Complex Android Layout Rendering Performance
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Mar 21, 2023 · Operations

How to Capture Precise Android Stack Traces: Native vs Instrumentation Methods

This article examines why a single Thread.currentThread().getStackTrace() call is insufficient for modern Android performance debugging, compares instrumentation and native stack‑capture approaches, and provides detailed step‑by‑step implementations, code snippets, and optimization tips for reliable stack tracing.

AndroidDebuggingInstrumentation
0 likes · 14 min read
How to Capture Precise Android Stack Traces: Native vs Instrumentation Methods
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
NetEase Yanxuan Technology Product Team
NetEase Yanxuan Technology Product Team
Feb 13, 2023 · Mobile Development

Android ANR Monitoring, Diagnosis and Governance Practice

The article explains how to monitor, locate, and remediate Android ANRs by installing a LooperPrinter‑based timeout detector, extending coverage to IdleHandler and touch events, dumping and aggregating main‑thread stacks via Firebase Crashlytics, and showcases real‑world fixes that cut online ANRs by 73.8%.

ANRAndroidFirebase Crashlytics
0 likes · 11 min read
Android ANR Monitoring, Diagnosis and Governance Practice
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Feb 10, 2023 · Mobile Development

Android Display System: From App to Screen

The article walks through Android’s display pipeline—from an app’s frame rendering through SurfaceFlinger, the Hardware Composer, and final screen output—showing how each stage appears in systrace and giving readers a macro‑level view of the data flow in Android S’s graphics system.

AndroidDisplay SystemSurfaceFlinger
0 likes · 8 min read
Android Display System: From App to Screen
vivo Internet Technology
vivo Internet Technology
Feb 8, 2023 · Mobile Development

Modular Development Tool for Android Client: Challenges and Solutions

The ModularDevTool, a shell‑script and Gradle‑plugin solution, centralizes sub‑repository management, enables one‑click switching between code and Maven dependencies, automates version handling and CI publishing, and thus streamlines Android client modular development while cutting manual effort and code conflicts by over half.

AndroidCI/CDGradle
0 likes · 15 min read
Modular Development Tool for Android Client: Challenges and Solutions
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Feb 6, 2023 · Mobile Development

Memory Monitoring and Leak Detection Practices in NetEase Cloud Music Android App

The NetEase Cloud Music Android team built a comprehensive memory‑monitoring system—combining LeakCanary and KOOM for leak detection, instrumented image loading for large‑bitmap tracking, periodic heap and thread metrics collection, and automated ticket generation—to identify, rank, and resolve leaks, oversized resources, and thread‑related OOM risks across development and production.

AndroidKOOMLeak Detection
0 likes · 15 min read
Memory Monitoring and Leak Detection Practices in NetEase Cloud Music Android App
HaoDF Tech Team
HaoDF Tech Team
Feb 2, 2023 · Mobile Development

Android Client Network Optimization: Framework Unification, HttpDns Integration, and Performance Enhancements

This article details how an Android team unified multiple network libraries into OkHttp, integrated HttpDns to bypass carrier DNS hijacking, migrated to HTTPS and HTTP/2, and applied a series of performance and security optimizations that markedly improved request speed, reliability, and user experience across diverse mobile network conditions.

AndroidHTTPDNSHTTPS
0 likes · 22 min read
Android Client Network Optimization: Framework Unification, HttpDns Integration, and Performance Enhancements
Alibaba Terminal Technology
Alibaba Terminal Technology
Feb 1, 2023 · Backend Development

How GaiaX’s Cross‑Platform Expression Engine Achieves Fast, Stable UI Rendering

This article explains GaiaX’s cross‑platform expression engine, covering its design, LR(1) grammar‑based parsing, syntax‑tree construction, C++ core implementation, Android JNI and iOS bridge integration, unified data types, performance benchmarks, and how it ensures consistent, high‑performance UI rendering on mobile devices.

AndroidC++Expression Engine
0 likes · 16 min read
How GaiaX’s Cross‑Platform Expression Engine Achieves Fast, Stable UI Rendering
Sohu Tech Products
Sohu Tech Products
Jan 25, 2023 · Mobile Development

Android Plugin Architecture: Class Loading, Resource Injection, Component Communication, and Popular Frameworks

This article explains how Android installs APKs, introduces the concepts of plugins and pluginization, details class‑loader and resource‑injection mechanisms, describes four‑component communication strategies, compares several hooking techniques, and reviews major open‑source plugin frameworks such as Atlas, RePlugin, VirtualApp and Shadow.

AndroidClassLoaderComponentCommunication
0 likes · 28 min read
Android Plugin Architecture: Class Loading, Resource Injection, Component Communication, and Popular Frameworks
Sohu Tech Products
Sohu Tech Products
Jan 18, 2023 · Mobile Development

Exploring Nowinandroid Project Build Scripts and Best Practices

This article walks through the nowinandroid Android sample project's build scripts, covering Gradle property configurations, automatic Git‑hook installation, includeBuild usage, reusable build‑logic plugins, Version Catalog dependency management, Spotless code‑style checks, and custom Lint rules to improve build performance and code quality.

AndroidGradleVersion Catalog
0 likes · 9 min read
Exploring Nowinandroid Project Build Scripts and Best Practices
Sohu Tech Products
Sohu Tech Products
Jan 11, 2023 · Mobile Development

Understanding Android ANR: Causes, Trigger Process, Monitoring Techniques, and Analysis

This comprehensive article explains what Android ANR (Application Not Responding) is, details its various causes and trigger scenarios, walks through the internal service‑side workflow, and presents practical monitoring solutions—including a watchdog thread and SIGQUIT signal interception—along with code samples, trace analysis methods, and mitigation strategies for developers.

ANRAndroidDebugging
0 likes · 48 min read
Understanding Android ANR: Causes, Trigger Process, Monitoring Techniques, and Analysis
Huolala Tech
Huolala Tech
Jan 10, 2023 · Information Security

Solving Android SSL Certificate Expiration: HuoLaLa’s Full Debugging Guide

This article explains the fundamentals of SSL certificates, details Android’s certificate verification process, walks through common pitfalls such as expired or mismatched certificates, and provides practical solutions—including custom TrustManager implementations, revocation checks, and debugging techniques—to ensure reliable secure communication in Android apps.

AndroidSSLTLS
0 likes · 24 min read
Solving Android SSL Certificate Expiration: HuoLaLa’s Full Debugging Guide
Alibaba Terminal Technology
Alibaba Terminal Technology
Jan 5, 2023 · Mobile Development

Why Mobile Trace Is Hard and How OpenTelemetry Solves It

This article explores the challenges of end‑to‑end tracing on mobile apps, explains why issues are hard to reproduce, and presents a four‑step solution using a unified OpenTelemetry standard, automated data linking, performance optimizations, and machine‑learning‑driven root‑cause analysis.

AndroidData CollectionObservability
0 likes · 20 min read
Why Mobile Trace Is Hard and How OpenTelemetry Solves It