Tagged articles
1817 articles
Page 4 of 19
OPPO Amber Lab
OPPO Amber Lab
Dec 29, 2023 · Information Security

Uncovering Android Malicious Anti‑Kill Vulnerabilities in Foreground Services

This article explains how Android malicious anti‑kill techniques exploit foreground services to keep processes alive, outlines the Low Memory Killer mechanism, details process priority values, presents real CVE examples, and offers mitigation strategies for developers and security researchers.

AndroidAnti‑KillForeground Service
0 likes · 9 min read
Uncovering Android Malicious Anti‑Kill Vulnerabilities in Foreground Services
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 26, 2023 · Mobile Development

EdgeUtils: Android Edge‑to‑Edge UI Utility Library Guide

EdgeUtils is an Android library built on androidx.core that simplifies edge‑to‑edge immersive UI by providing easy‑to‑use APIs, integration steps, code examples, visual‑conflict resolutions, gesture handling, and bug‑fixes for status‑bar, navigation‑bar, and toolbar adaptations.

AndroidEdge-to-EdgeKotlin
0 likes · 11 min read
EdgeUtils: Android Edge‑to‑Edge UI Utility Library Guide
Baidu Geek Talk
Baidu Geek Talk
Dec 25, 2023 · Information Security

Anti‑Screenshot and Screen‑Recording Protection Strategies for Mobile Applications (iOS & Android)

This article explains how to prevent screenshots and screen recordings on Android by using FLAG_SECURE and on iOS by monitoring screenshot and capture notifications, detailing the Baidu Account SDK’s cross‑platform implementation and emphasizing the importance of such protections for apps handling sensitive user data.

AndroidFLAG_SECUREMobile Security
0 likes · 10 min read
Anti‑Screenshot and Screen‑Recording Protection Strategies for Mobile Applications (iOS & Android)
Tencent Music Tech Team
Tencent Music Tech Team
Dec 19, 2023 · Mobile Development

Understanding and Optimizing Android Jank (Lag) in Mobile Applications

The article explains Android jank, defines Google and PerfDog metrics, identifies direct and indirect causes, recommends profiling tools such as Systrace, Perfetto and APM, and details a Wesing case study where breaking tasks, lazy loading, view‑hierarchy reduction and thread off‑loading cut PerfDog jank by roughly half, concluding with a checklist for systematic detection and mitigation.

AndroidJankMemory
0 likes · 13 min read
Understanding and Optimizing Android Jank (Lag) in Mobile Applications
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Dec 19, 2023 · Mobile Development

A One‑Stop UI Automation Testing Framework for NetEase Cloud Music

To meet NetEase Cloud Music’s tight regression schedule, the team built Athena, a one‑stop UI automation framework that combines record‑and‑play case entry, Dawn telemetry‑based stable element locating, white‑box communication for efficiency, and integrated network‑mock and multi‑account support, delivering 73% coverage, over 90% success, and cutting regression time by more than 60%.

Androidcontinuous integrationiOS
0 likes · 14 min read
A One‑Stop UI Automation Testing Framework for NetEase Cloud Music
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 15, 2023 · Mobile Development

Using the crash Tool to Analyze Android Kernel Kdump Dumps

The article explains how to use the Linux crash utility for efficient, on‑demand analysis of Android Kdump dumps on MTK and Qualcomm devices, covering dump loading parameters, baseline data collection, stack back‑tracing, local variable recovery, thread searching, and why crash outperforms memory‑heavy tools like trace32.

AndroidKDUMPcrash tool
0 likes · 29 min read
Using the crash Tool to Analyze Android Kernel Kdump Dumps
OPPO Amber Lab
OPPO Amber Lab
Dec 15, 2023 · Information Security

Uncovering Android Binder Service Vulnerabilities: Exploits, Causes, and Fixes

This article explains the fundamentals of Android Binder services, categorizes Origin, AIDL, HIDL, and Vendor types, describes methods for locating services, and details common vulnerability patterns such as uninitialized memory, out-of-bounds reads/writes, and type confusion, illustrated with real CVE cases and mitigation insights.

AndroidBinderExploit
0 likes · 9 min read
Uncovering Android Binder Service Vulnerabilities: Exploits, Causes, and Fixes
Watermelon Video Tech Team
Watermelon Video Tech Team
Dec 14, 2023 · Mobile Development

Why Does Android’s RenderThread Crash on TextureView.getBitmap? A Deep Dive and Fix

This article investigates the Android 5‑6 RenderThread native crash caused by a missing EGL surface when TextureView.getBitmap is called before ThreadedRender initialization, analyzes the root cause through code inspection and runtime logs, and presents a bytecode‑instrumentation fix that dramatically reduces the crash rate.

AndroidCrashAnalysisHooking
0 likes · 21 min read
Why Does Android’s RenderThread Crash on TextureView.getBitmap? A Deep Dive and Fix
Sohu Tech Products
Sohu Tech Products
Dec 13, 2023 · Mobile Development

How to Detect and Eliminate Jetifier Issues for Faster Android Builds

This article explains how to identify Jetifier warnings during Android compilation, why disabling Jetifier can break functionality, the limitations of the built‑in checkJetifier task, and presents a comprehensive solution using Gradle scripts, jetifier‑standalone, and custom tasks to migrate third‑party libraries to AndroidX while keeping build times low.

AndroidAndroidXBuild Optimization
0 likes · 27 min read
How to Detect and Eliminate Jetifier Issues for Faster Android Builds
Huolala Tech
Huolala Tech
Dec 12, 2023 · Mobile Development

How to Detect and Optimize Android App Battery Drain with Bytecode Hooking

This article explains how Android’s battery statistics work, demonstrates a low‑overhead bytecode instrumentation technique to monitor power‑hungry APIs such as WakeLocks, GPS and sensors, and shows practical examples of detecting and fixing real‑world battery‑draining bugs in production apps.

AndroidInstrumentationPerformance Monitoring
0 likes · 26 min read
How to Detect and Optimize Android App Battery Drain with Bytecode Hooking
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 8, 2023 · Mobile Development

Android Audio Smoothness: Performance Analysis and Optimization Guide

This guide helps Android audio developers understand and eliminate stutter, pop noise, and other glitches by examining audio formats, pipeline components, CPU scheduling, common failure cases, and offering concrete optimization steps such as proper thread priorities, reduced API blocking, and efficient frame‑count configuration.

AndroidSchedulingaudio
0 likes · 18 min read
Android Audio Smoothness: Performance Analysis and Optimization Guide
php Courses
php Courses
Dec 8, 2023 · Information Security

Critical Bluetooth Vulnerability CVE-2023-45866 Affects Android, iOS, Linux, and macOS

A high‑severity Bluetooth vulnerability (CVE‑2023‑45866) discovered by SkySafe researcher Marc Newlin allows attackers to bypass authentication, pair a fake keyboard, and execute code on Android, iOS, Linux, and macOS devices, with Google’s December Android security update already addressing the issue.

AndroidBluetoothCVE-2023-45866
0 likes · 2 min read
Critical Bluetooth Vulnerability CVE-2023-45866 Affects Android, iOS, Linux, and macOS
JD Retail Technology
JD Retail Technology
Dec 7, 2023 · Mobile Development

Cross‑Platform Dynamic Development with MCube: Practices, Architecture, and Lessons Learned

This article details the MCube dynamic‑UI solution for mobile apps, covering the background of high development costs, the reasons for choosing MCube, the implementation of single‑floor and full‑page dynamic transformations, data‑structure redesign, common pitfalls, and best‑practice recommendations for both iOS and Android.

AndroidDynamic UIMCube
0 likes · 12 min read
Cross‑Platform Dynamic Development with MCube: Practices, Architecture, and Lessons Learned
Weimob Technology Center
Weimob Technology Center
Dec 5, 2023 · Mobile Development

How Virtual Routing Boosts Cross-Platform Mobile App Navigation

This article introduces a virtual routing framework for mobile applications that unifies page navigation across Android, iOS, and mini-programs, enabling dynamic URL distribution, platform-specific configurations, version-based routing, and reduced maintenance, while detailing architecture, implementation steps, and code examples.

AndroidDynamic ConfigurationMini Program
0 likes · 11 min read
How Virtual Routing Boosts Cross-Platform Mobile App Navigation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 5, 2023 · Mobile Development

Understanding Android ViewModel: State Preservation, onRetainNonConfigurationInstance, and Implementation Details

This article explains how Android ViewModel preserves UI state across configuration changes, the role of SavedStateHandle and onRetainNonConfigurationInstance, the internal mechanisms involving ComponentActivity and ViewModelStore, and provides practical guidance on using factories, CreationExtras, and Hilt for custom ViewModel implementations.

AndroidJetpackLifecycle
0 likes · 22 min read
Understanding Android ViewModel: State Preservation, onRetainNonConfigurationInstance, and Implementation Details
OPPO Amber Lab
OPPO Amber Lab
Nov 30, 2023 · Information Security

Uncovering Android Socket Service Vulnerabilities: Techniques and Case Study

This article details the methodology for discovering and analyzing Android local socket service vulnerabilities, outlines prerequisite skills, explains service classifications, demonstrates data‑handling function tracing, and presents a CVE‑2023‑35694 case study, highlighting common flaw types and mitigation insights.

AndroidCVESecurity
0 likes · 8 min read
Uncovering Android Socket Service Vulnerabilities: Techniques and Case Study
Snowball Engineer Team
Snowball Engineer Team
Nov 30, 2023 · Mobile Development

Understanding Android Scoped Storage and Migration Strategies

This article explains the concept and core principles of Android Scoped Storage, compares traditional file‑path, MediaStore and SAF access methods, and provides detailed migration solutions for media and non‑media files, compatibility modes, and the special MANAGE_EXTERNAL_STORAGE permission.

AndroidAndroid 11FileProvider
0 likes · 17 min read
Understanding Android Scoped Storage and Migration Strategies
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Nov 27, 2023 · Mobile Development

Understanding Android HWUI, Skia, and OpenGL Rendering Pipeline

The article explains Android’s graphics pipeline by detailing how HWUI and Skia translate view operations into OpenGL ES commands, describing RenderThread stages such as synchronization, dirty‑region calculation, buffer handling, and drawing, and comparing mobile GPU architectures like TBR, TBDR, and IMR.

AndroidGPUOpenGL
0 likes · 13 min read
Understanding Android HWUI, Skia, and OpenGL Rendering Pipeline
Ximalaya Technology Team
Ximalaya Technology Team
Nov 15, 2023 · Mobile Development

Implementing Gradient Text Effects for Android Live Chat Nicknames

The article explains how to give privileged Android live‑chat users gradient nicknames by applying a LinearGradient shader via a custom GradientColorSpan, handling multi‑line text with restart or continuous strategies, and integrating these spans in a LiveGradientTextView that measures, inflates, and renders the gradient consistently across all live‑room scenarios.

AndroidCustom SpanShader
0 likes · 14 min read
Implementing Gradient Text Effects for Android Live Chat Nicknames
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 14, 2023 · Mobile Development

Suppressing GC Execution in Android ART: Understanding HeapTaskDaemon and Hook Techniques

This article explains how the HeapTaskDaemon thread drives garbage collection in Android's ART runtime, analyzes its source code and related HeapTask classes, and presents two practical methods—adding custom HeapTasks or pausing existing ones—using ELF symbol lookup, ndk_dlopen, and virtual‑function hooking to temporarily suppress GC for better performance.

AndroidELFHeapTaskDaemon
0 likes · 26 min read
Suppressing GC Execution in Android ART: Understanding HeapTaskDaemon and Hook Techniques
Baidu Geek Talk
Baidu Geek Talk
Nov 13, 2023 · Mobile Development

UBC SDK Log Duplicate Packaging Optimization Practices

The article explains how the UBC SDK’s log‑center deduplication suffers from package and log duplication, identifies three root causes—database corruption, WAL write failures, and multi‑process conflicts—and presents concrete fixes that reduced duplicate rates from 0.3 % to under 0.1 %.

AndroidLog DeduplicationUBC SDK
0 likes · 22 min read
UBC SDK Log Duplicate Packaging Optimization Practices
MoonWebTeam
MoonWebTeam
Nov 9, 2023 · Mobile Development

Master Mobile E2E Testing with Appium: Setup, Principles, and Real‑World Examples

This comprehensive guide explains Appium’s cross‑platform architecture, walks through setting up an Android testing environment on macOS, demonstrates a full‑stack test case for an in‑app H5 page, and shares advanced techniques like a WebSocket‑based JS agent and OpenCV image‑recognition for challenging hybrid scenarios.

AndroidAppiumE2E automation
0 likes · 16 min read
Master Mobile E2E Testing with Appium: Setup, Principles, and Real‑World Examples
Didi Tech
Didi Tech
Nov 7, 2023 · Mobile Development

Root Cause Analysis and Resolution of Periodic Crashes Caused by File Handle Leak in Didi Android Delivery Merchant App

The Didi Android delivery merchant app suffered periodic crashes on Huawei devices because a null‑checked fopen in libpush.so caused an unchecked fwrite, leaking file handles until the per‑process limit was reached, and the issue was resolved by adding proper null checks, closing handles, and instituting systematic FD‑leak monitoring and code‑review safeguards.

AndroidDebuggingHandle Leak
0 likes · 13 min read
Root Cause Analysis and Resolution of Periodic Crashes Caused by File Handle Leak in Didi Android Delivery Merchant App
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 7, 2023 · Mobile Development

Comprehensive Guide to Building Modern Android Apps in 2023

This article provides a detailed overview of the latest 2023 trends, tools, libraries, architectural patterns, and best practices for developing modern Android applications, covering everything from Kotlin and Jetpack Compose to Clean Architecture, modularization, performance optimization, and Google Play features.

AndroidClean ArchitectureJetpack Compose
0 likes · 16 min read
Comprehensive Guide to Building Modern Android Apps in 2023
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 3, 2023 · Mobile Development

Comprehensive Guide to Using Hilt for Dependency Injection in Android

This article explains the fundamentals of dependency injection, introduces Hilt and its basic setup for Android, demonstrates advanced features such as qualifiers, scopes, assisted injection, custom entry points, and analyzes Hilt's underlying principles, helping developers decide whether to adopt DI frameworks in Android projects.

AndroidAssisted InjectionDI Framework
0 likes · 21 min read
Comprehensive Guide to Using Hilt for Dependency Injection in Android
Sohu Tech Products
Sohu Tech Products
Nov 1, 2023 · Mobile Development

Compose-Multiplatform Cross-Platform Development Guide: From Setup to Rendering Principles

This guide walks developers through setting up Compose‑Multiplatform, implementing a Ktor‑based network layer, designing shared data models, building a LazyColumn UI, and explains Android rendering internals—from LayoutNode creation to Skiko drawing—while comparing the framework to Flutter and highlighting its low learning curve.

AndroidCompose-MultiplatformJetpack Compose
0 likes · 18 min read
Compose-Multiplatform Cross-Platform Development Guide: From Setup to Rendering Principles
Liangxu Linux
Liangxu Linux
Oct 30, 2023 · Operations

How to Set Fixed IP for Dual Ethernet Ports on RK3568 Android Boards

This guide explains two practical methods—editing the binary ipconfig.txt file and porting the open‑source ifplugd daemon—to automatically assign a fixed IP address to the second Ethernet port on an RK3568 Android development board when a cable is connected.

AndroidFixed IPNDK
0 likes · 15 min read
How to Set Fixed IP for Dual Ethernet Ports on RK3568 Android Boards
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 28, 2023 · Mobile Development

Android Development Tips: Quick System Version Detection, Custom Button Spacing, Logcat Activity Tracking, and Gradle Configuration

This article presents several practical Android development techniques, including using stack traces to differentiate Android 10 and Android 12 versions, a unique method for setting button spacing via custom XML backgrounds, leveraging logcat to identify launched Activity classes, and configuring Gradle to share local installations for faster project setup.

AndroidButton SpacingDevelopment
0 likes · 8 min read
Android Development Tips: Quick System Version Detection, Custom Button Spacing, Logcat Activity Tracking, and Gradle Configuration
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 23, 2023 · Mobile Development

Building a Kotlin Retrofit Network Request Framework for Android with Token Interceptors, File Upload/Download, and ViewModel Integration

This article demonstrates how to create a clean, reusable network request layer for Android using Kotlin, Retrofit, and OkHttp, covering dependency setup, custom token interceptors, Retrofit utility creation, request/result handling with ViewModel extensions, and comprehensive file upload and download implementations.

AndroidKotlinRetrofit
0 likes · 17 min read
Building a Kotlin Retrofit Network Request Framework for Android with Token Interceptors, File Upload/Download, and ViewModel Integration
Architect
Architect
Oct 22, 2023 · Game Development

Design and Implementation of a Lightweight Map Solution for King of Glory Using Unity and Native Views

This article details the end‑to‑end design, technical selection, and implementation of a lightweight map solution for the mobile game King of Glory, covering cross‑platform UI framework, Unity‑native view integration, data transmission via JCE, handling of Android/iOS click events, immersive mode, and nine‑patch image support.

AndroidGame DevelopmentMap Integration
0 likes · 33 min read
Design and Implementation of a Lightweight Map Solution for King of Glory Using Unity and Native Views
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Oct 20, 2023 · Mobile Development

How to Seamlessly Replace OkHttp with Cronet on Android

This article details the motivation, architecture, and step‑by‑step integration of Google’s Cronet network library into NetEase Cloud Music’s Android client, covering adaptation layers, interceptor handling, timeout support, compatibility fixes, performance gains, and future QUIC enhancements.

AndroidCronetNetwork Library
0 likes · 15 min read
How to Seamlessly Replace OkHttp with Cronet on Android
Alipay Experience Technology
Alipay Experience Technology
Oct 20, 2023 · Mobile Development

Boost Android Native C++ Quality with Clang‑Tidy and the C++ Core Guidelines

This article explains how to integrate the C++ Core Guidelines checker via Clang‑Tidy into Android C++ projects, covering setup in ndk‑build and Android Studio, using quick‑fixes to automatically refactor code, generating a JSON compilation database, and highlighting the guidelines' impact on modern C++ talent development.

AndroidCClang-Tidy
0 likes · 14 min read
Boost Android Native C++ Quality with Clang‑Tidy and the C++ Core Guidelines
Bilibili Tech
Bilibili Tech
Oct 20, 2023 · Mobile Development

MEPlayer – An Android Cross‑Process Media Playback Framework for Maoer FM

MEPlayer is a cross‑process Android playback framework for Maoer FM that unifies audio, video, live‑stream and special‑effect playback by abstracting kernels such as ExoPlayer, BBP and IJK behind a simple API, offering business‑level decoupling, automatic recovery, audio‑focus handling, notification integration, network optimizations and both cross‑process (MEPlayer) and same‑process (MEDirectPlayer) entry points.

AndroidAudio FocusBackground Playback
0 likes · 17 min read
MEPlayer – An Android Cross‑Process Media Playback Framework for Maoer FM
Tencent Music Tech Team
Tencent Music Tech Team
Oct 18, 2023 · Mobile Development

Adaptive Stream Switching and Multi‑Track Selection in ExoPlayer

ExoPlayer enables both MergingMediaSource‑based multi‑track merging and adaptive streaming (DASH, HLS, smoothing‑stream), letting developers choose between low‑cost CDN merging or bandwidth‑driven track switching, with detailed components, manifest parsing, bandwidth‑meter customization, and decoder reuse to ensure smooth bitrate changes.

AndroidBandwidth MeterExoPlayer
0 likes · 30 min read
Adaptive Stream Switching and Multi‑Track Selection in ExoPlayer
Kuaishou Frontend Engineering
Kuaishou Frontend Engineering
Oct 18, 2023 · Mobile Development

Why Upgrading to AGP 7.0.1 Increased APK Size and How We Fixed It

After upgrading Kuaishou's Android project from AGP 3.4.2 to 7.0.1, the APK size unexpectedly grew despite faster builds, leading to a deep investigation of Dex compression, R8 changes, and build tool versions, ultimately revealing a fastutil library mismatch that was resolved by forcing the correct version.

AGPAPK sizeAndroid
0 likes · 16 min read
Why Upgrading to AGP 7.0.1 Increased APK Size and How We Fixed It
Ximalaya Technology Team
Ximalaya Technology Team
Oct 16, 2023 · Mobile Development

My Journey to Becoming a Google Developer Expert (GDE) – A Detailed Guide

The author chronicles a half‑year journey from initial rejection to official Google Developer Expert status, detailing motivations, community talks, mentorship, two interview rounds, application steps, and the professional perks such as early tech access, global networking, and potential I/O attendance.

AndroidGDE ApplicationGoogle Developer Expert
0 likes · 12 min read
My Journey to Becoming a Google Developer Expert (GDE) – A Detailed Guide
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Oct 13, 2023 · Mobile Development

Overview and Technical Details of Miracast (Wi‑Fi Display) with Implementation Examples

The article explains Miracast (Wi‑Fi Display) as a Wi‑Fi Direct‑based wireless display standard, detailing its layered architecture, mandatory and optional audio/video codecs, device discovery, RTSP negotiation, UIBC control, and provides Android implementation examples for peer scanning, connection, RTSP setup, video capture, and packetization, highlighting performance considerations.

AndroidMiracastP2P
0 likes · 12 min read
Overview and Technical Details of Miracast (Wi‑Fi Display) with Implementation Examples
Sohu Tech Products
Sohu Tech Products
Oct 11, 2023 · Mobile Development

Understanding Android Camera2 YUV_420_888 Format and Data Extraction

The article explains Android’s camera2 YUV_420_888 format, detailing Y, U, V plane structures, the roles of pixelStride and rowStride, how to detect planar versus semi‑planar layouts, handle row padding, and correctly extract and de‑interleave the data for reliable image processing.

AndroidCamera2ImageReader
0 likes · 17 min read
Understanding Android Camera2 YUV_420_888 Format and Data Extraction
php Courses
php Courses
Oct 11, 2023 · Information Security

Google Advances Android Security by Migrating Native Code to Rust

Google reports that its ongoing migration of Android's native components from C++ to Rust has reduced memory‑related security bugs, with Rust now powering about 21% of new native code in Android 13 and being used to rewrite critical security modules such as the protected virtual machine firmware.

AndroidBare MetalMemory Safety
0 likes · 4 min read
Google Advances Android Security by Migrating Native Code to Rust
Huolala Tech
Huolala Tech
Oct 10, 2023 · Mobile Development

Optimizing Android Threads with Bytecode Instrumentation and Proxy Pools

This article presents a comprehensive approach to reducing thread overhead in Android applications by detecting, counting, and consolidating thread creation through bytecode instrumentation, proxy thread pools, and stack size trimming, ultimately improving memory usage, CPU load, and UI smoothness.

Androidbytecode instrumentationthread optimization
0 likes · 21 min read
Optimizing Android Threads with Bytecode Instrumentation and Proxy Pools
DaTaobao Tech
DaTaobao Tech
Oct 9, 2023 · Mobile Development

Android JVMTI: Runtime Monitoring and Profiling Techniques

By patching ART’s internal debug flags to enable JVMTI on non‑debuggable apps, the authors created TBProfiler, a lightweight Android profiling tool that uses JVMTI’s event callbacks to trace method calls, thread and exception events, lock contention, and memory allocations, producing a compact mini‑hprof for production‑grade runtime monitoring and analysis.

AndroidJVMTIMemory analysis
0 likes · 20 min read
Android JVMTI: Runtime Monitoring and Profiling Techniques
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.

AndroidReact NativeText Truncation
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.

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

ASMAndroidBuild Automation
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.

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.

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

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

AndroidNative ServicesSecurity
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 HuntingFramework
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 RefactoringSharedPreferences
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.

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

AndroidDEXSecurity
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 kernelMemory Safety
0 likes · 10 min read
Why Big Tech Is Rewriting Kernels in Rust: Memory Safety Meets Performance