Tagged articles

Android

1864 articles · Page 4 of 19
Huolala Tech
Huolala Tech
May 14, 2024 · Mobile Development

How We Reduced Android OOM Crashes by 99%: Mobile Memory Optimization Secrets

Over the past six months we tackled severe Android memory issues—high OOM crash rates, memory leaks, and large object usage—by implementing systematic profiling, targeted page optimizations, Java and native leak detection tools, and robust monitoring mechanisms, ultimately reducing OOM crashes from 0.8‰ to 0.01‰ and improving app stability.

AndroidOOMleak detection
0 likes · 26 min read
How We Reduced Android OOM Crashes by 99%: Mobile Memory Optimization Secrets
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 11, 2024 · Mobile Development

Understanding Android's Display System: Surface, SurfaceFlinger, BufferQueue, HAL, FrameBuffer, VSync and Multi‑Buffer Mechanisms

This article provides a comprehensive overview of Android's display system, detailing the roles and interactions of Surface, SurfaceFlinger, BufferQueue, HAL, FrameBuffer, VSync, and various buffering strategies to explain how smooth, tear‑free rendering is achieved.

AndroidBufferQueueDisplay System
0 likes · 18 min read
Understanding Android's Display System: Surface, SurfaceFlinger, BufferQueue, HAL, FrameBuffer, VSync and Multi‑Buffer Mechanisms
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 10, 2024 · Artificial Intelligence

Real-Time Dog Detection in Browser Using TensorFlow.js and MobileNet V2

This guide demonstrates how to build a web‑based real‑time dog detector that accesses the phone camera via the browser, processes video frames with TensorFlow.js and a pre‑trained COCO‑SSD MobileNet V2 model, and plays an audio alert when a dog is recognized, all deployed on an Android device using Termux.

AndroidMobileNetObject Detection
0 likes · 8 min read
Real-Time Dog Detection in Browser Using TensorFlow.js and MobileNet V2
OPPO Amber Lab
OPPO Amber Lab
Apr 26, 2024 · Artificial Intelligence

Deploy Efficient Text Classification on Android with TensorFlow Lite

This guide walks you through the end‑to‑end process of building, training, converting, and deploying a TensorFlow Lite text‑classification model on Android, covering data preparation, model selection, performance trade‑offs, and integration using the TFLite Task Library.

AndroidTensorFlow LiteText classification
0 likes · 19 min read
Deploy Efficient Text Classification on Android with TensorFlow Lite
Sohu Tech Products
Sohu Tech Products
Apr 24, 2024 · Mobile Development

How to Create a Rotating Color‑Changing Rounded Triangle in Android

This article walks through the mathematical analysis, coordinate calculations, and step‑by‑step Android code needed to draw an inverted equilateral triangle, animate a red/black tracing line, and rotate the shape with rounded corners, while addressing common pitfalls such as frame drops and aliasing.

AndroidAnimationCanvas
0 likes · 12 min read
How to Create a Rotating Color‑Changing Rounded Triangle in Android
HelloTech
HelloTech
Apr 18, 2024 · Mobile Development

Understanding JSBridge in Hybrid Mobile App Development

JSBridge is a bidirectional communication layer that lets hybrid mobile apps combine native performance with web flexibility by allowing JavaScript to invoke native functions and native code to call back into the WebView, using techniques such as URL schemes, injected APIs, and platform‑specific evaluateJavascript methods.

AndroidHybrid AppJSBridge
0 likes · 13 min read
Understanding JSBridge in Hybrid Mobile App Development
FunTester
FunTester
Apr 18, 2024 · Operations

Selective Testing to Accelerate CI/CD for Android UI Tests at Agoda

This article describes how Agoda engineers tackled slow CI pipelines caused by exhaustive UI testing by implementing selective testing using code‑coverage data, JaCoCo, and a device farm, resulting in faster feedback, reduced flakiness, and more efficient integration for Android applications.

AndroidCI/CDDevice Farm
0 likes · 10 min read
Selective Testing to Accelerate CI/CD for Android UI Tests at Agoda
Sohu Tech Products
Sohu Tech Products
Apr 17, 2024 · Mobile Development

Designing a Dynamic Performance‑Degradation System for iOS & Android Apps

An in‑depth guide shows how to build a client‑side dynamic degradation framework for iOS and Android that monitors CPU, memory, battery and network speed, classifies them into levels, and notifies the business layer to adapt UI and network usage for smoother user experience.

AndroidBattery ManagementDynamic Degradation
0 likes · 15 min read
Designing a Dynamic Performance‑Degradation System for iOS & Android Apps
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 16, 2024 · Mobile Development

Optimizing Android resources.arsc: Deduplication and Image Compression via a Custom Gradle Plugin

This article explains how Android's resources.arsc file is generated, identifies duplication and size issues in multi‑module projects, and presents a Gradle‑based solution that inserts a custom task after processReleaseResources to deduplicate resources and compress images, reducing the final APK size.

AndroidGradleimage compression
0 likes · 11 min read
Optimizing Android resources.arsc: Deduplication and Image Compression via a Custom Gradle Plugin
DeWu Technology
DeWu Technology
Apr 15, 2024 · Mobile Development

Debugging Performance Degradation of Android 14 Debug Builds: Root Cause and Workarounds

The severe jank observed in Android 14 debug builds stems from the DEBUG_JAVA_DEBUGGABLE flag triggering DeoptimizeBootImage, which forces boot‑image methods onto the slow switch interpreter; a temporary hook clearing the flag and a permanent fix using UpdateEntrypointsForDebuggable restore performance, with Google planning an official fix in Android 15.

ARTAndroidNative
0 likes · 12 min read
Debugging Performance Degradation of Android 14 Debug Builds: Root Cause and Workarounds
Soul Technical Team
Soul Technical Team
Apr 15, 2024 · Mobile Development

Integrating React Native 0.72.10 into an Existing Mobile App: Challenges, Project Structure, and Platform-specific Solutions

This article details the process of introducing React Native 0.72.10 into an existing mobile application, covering the rationale for selection, project structure adjustments, iOS and Android integration challenges, script modifications, dependency management, and solutions to common issues such as path configuration, Gradle compatibility, and library conflicts.

AndroidReact Nativebuild-scripts
0 likes · 21 min read
Integrating React Native 0.72.10 into an Existing Mobile App: Challenges, Project Structure, and Platform-specific Solutions
21CTO
21CTO
Apr 13, 2024 · Mobile Development

What’s New in Android 15 Developer Preview? Edge‑to‑Edge UI, NFC, and More

The first Android 15 developer preview introduces default edge‑to‑edge apps, smoother NFC interactions, character‑spacing text rendering, system‑level app archiving, and several new APIs such as ProfilingManager, enhancing both user experience and developer capabilities on Pixel devices.

AndroidAndroid 15App Archiving
0 likes · 4 min read
What’s New in Android 15 Developer Preview? Edge‑to‑Edge UI, NFC, and More
iQIYI Technical Product Team
iQIYI Technical Product Team
Apr 12, 2024 · Mobile Development

Performance Optimization Strategies for iQIYI Android App on Low-End Devices

iQIYI improves its Android app for low‑end phones by classifying devices, streamlining startup with task‑based scheduling and baseline profiles, reducing UI thread load through card layout hard‑coding, message queuing, effect degradation, and pre‑fetching data, while continuously monitoring performance to ensure faster, smoother user experiences.

AndroidBaseline ProfilesPerformance Optimization
0 likes · 16 min read
Performance Optimization Strategies for iQIYI Android App on Low-End Devices
Sohu Tech Products
Sohu Tech Products
Mar 27, 2024 · Mobile Development

Implementing System-Level and In-App Floating Windows on Android and HarmonyOS

The article compares Android’s fragmented system‑level floating‑window permissions and lack of built‑in in‑app support with HarmonyOS’s simpler Application Sub‑Window approach, detailing how to obtain a WindowStage, create and configure a draggable sub‑window, handle gestures, and forward navigation and back‑press events to the main window.

AndroidHarmonyOSKotlin
0 likes · 8 min read
Implementing System-Level and In-App Floating Windows on Android and HarmonyOS
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 26, 2024 · Mobile Development

Building a Customizable Pie Chart Component with Jetpack Compose

This article demonstrates how to build a customizable pie chart component in Jetpack Compose, covering data preparation, drawing solid and ring styles, adding animated transitions, configuring description positions, and supporting multiple dimensions with a grid layout, providing complete Kotlin code examples.

AndroidJetpack ComposeKotlin
0 likes · 9 min read
Building a Customizable Pie Chart Component with Jetpack Compose
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Mar 21, 2024 · Mobile Development

Payment Link Optimization Practices for NetEase Cloud Music

In 2023 NetEase Cloud Music’s membership team overhauled its payment link by optimizing React‑Native checkout pages, pre‑fetching iOS IAP data, updating Android third‑party SDKs, and adding failure‑reminder SMS, boosting FCP and LCP scores, purchase UV, conversion, and overall payment success rates.

AndroidHermesIAP
0 likes · 14 min read
Payment Link Optimization Practices for NetEase Cloud Music
Huolala Tech
Huolala Tech
Mar 13, 2024 · Mobile Development

How to Implement Secure Fingerprint Login on Android with BiometricPrompt and Keystore

This article walks through implementing fingerprint login on Android, covering the legacy FingerprintManager API, the newer BiometricPrompt, integrating with Android Keystore for secure encryption, handling compatibility, UI considerations, and security best practices, complete with code examples and deployment results.

AndroidBiometricPromptfingerprint
0 likes · 19 min read
How to Implement Secure Fingerprint Login on Android with BiometricPrompt and Keystore
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 5, 2024 · Mobile Development

Using Custom Gradle Convention Plugins to Share Build Scripts in a Kotlin Multiplatform Android Project

This article demonstrates how to replace duplicated Gradle build scripts across multiple modules in a Kotlin Multiplatform Android project by creating custom convention plugins, leveraging Version Catalogs and the NowInAndroid example to centralize configuration, simplify third‑party plugin setup, and improve IDE assistance.

AndroidBuild Script ReuseConvention Plugin
0 likes · 13 min read
Using Custom Gradle Convention Plugins to Share Build Scripts in a Kotlin Multiplatform Android Project
37 Interactive Technology Team
37 Interactive Technology Team
Mar 4, 2024 · Mobile Development

Android Plugin Architecture Overview and Implementation Guide

This guide explains Android pluginization, showing how a host app can dynamically load separate APK modules—including native libraries, classes via a custom DexClassLoader, and mixed resources—while supporting hot updates, modular isolation, and reduced initial size, and details each loading step and manager implementation.

AndroidClassLoaderDynamic Loading
0 likes · 31 min read
Android Plugin Architecture Overview and Implementation Guide
Amap Tech
Amap Tech
Feb 28, 2024 · Mobile Development

Deep Dive into Android ClassLoader and findLoadedClass Mechanism for Code Coverage

The article details a high‑performance, high‑stability Android code‑coverage technique that creates a surrogate ClassLoader, copies the target PathClassLoader’s private classTable pointer, and invokes findLoadedClass on this loader to query a class’s load state without triggering Android’s native optimization that would otherwise automatically load the class.

AndroidClassLoaderNative
0 likes · 13 min read
Deep Dive into Android ClassLoader and findLoadedClass Mechanism for Code Coverage
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Feb 23, 2024 · Mobile Development

Understanding Perfetto Data Flow Architecture and Reducing Trace Data Loss

Perfetto’s tracing system links multiple producers to a single consumer via shared‑memory buffers, where careful sizing of pages, chunks, and central buffers, along with tuned protobuf encoding and scheduling priorities, mitigates CPU overhead and prevents data loss, enabling reliable observability on Android devices.

AndroidPerfettoPerformance
0 likes · 26 min read
Understanding Perfetto Data Flow Architecture and Reducing Trace Data Loss
OPPO Amber Lab
OPPO Amber Lab
Feb 23, 2024 · Information Security

Mastering Honggfuzz on Android: Setup, Execution, and Deep Code Insights

This article introduces the Google‑maintained honggfuzz fuzzing engine, explains how to integrate it into the Android AOSP build, run multi‑threaded fuzzing on devices, and dives into the core source modules, coverage sharing mechanisms, and the extensive mutation strategies that power its effectiveness.

AndroidCoveragefuzz testing
0 likes · 16 min read
Mastering Honggfuzz on Android: Setup, Execution, and Deep Code Insights
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 20, 2024 · Mobile Development

Hooking Android Looper Observer for Message Timing Monitoring and Bypassing Hidden APIs

This article explains how to use reflection and dynamic proxies to hook the hidden Android Looper.Observer API for detailed message‑dispatch timing, demonstrates code examples for installing and removing the hook, discusses workarounds for hidden‑API restrictions and the .dex loading changes introduced in Android 14.

AndroidHidden APILooper
0 likes · 13 min read
Hooking Android Looper Observer for Message Timing Monitoring and Bypassing Hidden APIs
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 2, 2024 · Mobile Development

Android APK Size Optimization: Removing Duplicate Resources and Image Compression with a Gradle Plugin

This article explains how the Android resources.arsc file is generated, identifies the problem of duplicate and uncompressed image resources in multi‑module projects, and presents a Gradle‑based solution that inserts a custom task after processReleaseResources to deduplicate resources, compress images using pngquant, guetzli and cwebp, and repack the .ap_ files, resulting in significant APK size reduction.

APKAndroidGradle Plugin
0 likes · 10 min read
Android APK Size Optimization: Removing Duplicate Resources and Image Compression with a Gradle Plugin
Watermelon Video Tech Team
Watermelon Video Tech Team
Jan 31, 2024 · Mobile Development

Optimizing Android Process Startup in Xigua Video: Strategies, Implementation, and Benefits

This article details how Xigua Video analyzed and optimized the startup of multiple Android subprocesses—including push, mini‑app, sandboxed, and exec processes—by applying on‑demand loading, SDK integration, and monitoring techniques, resulting in measurable performance and quality improvements.

AndroidMobile DevelopmentPerformance
0 likes · 23 min read
Optimizing Android Process Startup in Xigua Video: Strategies, Implementation, and Benefits
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 26, 2024 · Fundamentals

Android Partition Mounting Process and Common Issues

The article outlines Android’s partition mounting sequence—metadata, super (system), and userdata—detailing dm‑linear device creation, AVB verification, and encryption handling, then enumerates frequent failures such as set_policy_failed, init_user0_failed, enablefilecrypto_failed, userdata mount errors, and ServiceManager crashes, providing log examples and troubleshooting guidance.

AndroidFBEPartition Mounting
0 likes · 14 min read
Android Partition Mounting Process and Common Issues
Bilibili Tech
Bilibili Tech
Jan 26, 2024 · Game Development

Design and Automation of OneSDK and Packaging Tool for Global Game Distribution

The article describes how Bilibili created OneSDK and a macOS packaging tool that automatically selects and inserts the appropriate regional game SDKs, unifying APIs, eliminating manual configuration, and cutting integration effort by roughly 60% through Ruby‑based project manipulation and a Flutter UI.

AndroidPackaging ToolSDK Integration
0 likes · 16 min read
Design and Automation of OneSDK and Packaging Tool for Global Game Distribution
Sohu Tech Products
Sohu Tech Products
Jan 24, 2024 · Mobile Development

How to Fix FastJson Parsing Errors in Kotlin Android Apps

This article analyzes why FastJson, Gson, and Kotlinx‑serialization encounter crashes or incorrect handling when parsing Kotlin data classes in Android, explains the root causes such as missing no‑arg constructors and null‑safety issues, and provides concrete code fixes, ProGuard rules, and a unified wrapper API for reliable JSON processing.

AndroidFastjsonGson
0 likes · 20 min read
How to Fix FastJson Parsing Errors in Kotlin Android Apps
Sohu Tech Products
Sohu Tech Products
Jan 24, 2024 · Mobile Development

The Purpose of UseCase in Android Architecture

UseCase objects, placed in the Domain layer of modern Android architecture, encapsulate complex business logic that was previously crammed into ViewModels, thereby enforcing clean separation of concerns, adhering to the Single Responsibility Principle, and making the codebase clearer, more maintainable, and scalable.

AndroidDomain LayerMVVM
0 likes · 7 min read
The Purpose of UseCase in Android Architecture
Sohu Tech Products
Sohu Tech Products
Jan 24, 2024 · Mobile Development

Advanced Android Binder Interview Questions and Answers

This guide presents advanced Android Binder interview questions and concise answers, covering its architecture, cross‑process communication, relationship with AIDL, object lifecycle and death notifications, thread‑pool mechanics, performance tuning for large data transfers, and security measures, equipping engineers for confident interview performance.

AIDLAndroidBinder
0 likes · 15 min read
Advanced Android Binder Interview Questions and Answers
OPPO Amber Lab
OPPO Amber Lab
Jan 19, 2024 · Information Security

Uncovering Android AIDL/HIDL Service Vulnerabilities: Methods and Real CVE Examples

This article explains how Android AIDL and HIDL services are generated, outlines systematic steps to enumerate services, filter Java implementations, and automate information gathering, then details common memory‑corruption bug patterns and demonstrates real CVE‑2023‑21008 and CVE‑2023‑20766 exploits, concluding with a risk assessment.

AIDLAndroidCVE
0 likes · 9 min read
Uncovering Android AIDL/HIDL Service Vulnerabilities: Methods and Real CVE Examples
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 16, 2024 · Mobile Development

Lessons and Solutions from Three Months of uniapp Multi‑Platform Development

This article shares a three‑month experience of developing and maintaining a uniapp multi‑platform project, detailing challenges such as Android camera crashes, in‑app notifications, iOS side‑swipe back, Xiaomi browser swipe conflicts, background timers, keyboard height detection, and proposes practical solutions and refactoring ideas.

AndroidUniAppcross‑platform
0 likes · 15 min read
Lessons and Solutions from Three Months of uniapp Multi‑Platform Development
Python Programming Learning Circle
Python Programming Learning Circle
Jan 15, 2024 · Mobile Development

Automating Android Phone Actions with Python and ADB

This guide explains how to install ADB and the pure‑python‑adb library, enable USB debugging on an Android device, and write Python scripts that simulate touches to create a selfie timer and a word‑definition searcher, demonstrating full mobile automation using Python.

ADBAndroidmobile-development
0 likes · 8 min read
Automating Android Phone Actions with Python and ADB
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 12, 2024 · Mobile Development

Analysis of Android Fingerprint Driver Initialization and DTS Matching in Linux Kernel 5.10

The article traces the Android fingerprint driver’s boot‑to‑initialization sequence in Linux kernel 5.10, detailing how fp_init and fp_probe are scheduled, how the Device Tree is parsed and turned into platform devices, and explains the three driver‑DTS matching mechanisms, offering insights applicable to other platform drivers.

AndroidDevice TreeFingerprint Driver
0 likes · 9 min read
Analysis of Android Fingerprint Driver Initialization and DTS Matching in Linux Kernel 5.10
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 9, 2024 · Mobile Development

Understanding Android LayoutInflater: Usage, inflate Methods, Factory and Factory2

This article explains how Android's LayoutInflater converts XML layout files into View objects, demonstrates the various ways to obtain and use a LayoutInflater, details the overloads of the inflate method, and shows how to customize view creation with Factory and Factory2 interfaces, including practical code examples.

AndroidFactory2Java
0 likes · 20 min read
Understanding Android LayoutInflater: Usage, inflate Methods, Factory and Factory2
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_SECUREanti-screenshot
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.

AndroidMemoryMobile Development
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.

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

AndroidPerformance Monitoringbattery optimization
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.

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

Androidcross-platformdynamic-configuration
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.

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

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

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

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

AndroidHandle LeakNative Library
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.

AndroidDependency InjectionJetpack Compose
0 likes · 16 min read
Comprehensive Guide to Building Modern Android Apps in 2023
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Nov 3, 2023 · Mobile Development

Android Logging System Analysis: Architecture, Implementation, and Log Loss Cases

The article dissects Android’s logging system, detailing Java, native, and kernel interfaces, the liblog and logd daemon architecture, logcat usage, common log‑loss scenarios such as socket failures and buffer overflows, and the significant CPU, memory, I/O, and power resources the system consumes.

AndroidMobile DevelopmentSystem Internals
0 likes · 15 min read
Android Logging System Analysis: Architecture, Implementation, and Log Loss Cases
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.

AndroidEthernetFixed IP
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 SpacingGradle
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.

AndroidUnitygame development
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.

AndroidC++Clang-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.

AndroidBackground PlaybackCross-Process
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
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.

AndroidRustU-Boot
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 Pool
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