Tagged articles

Android

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

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

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

AndroidGame DevelopmentPackaging Tool
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.

AndroidClean ArchitectureDomain Layer
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.

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

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

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.

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

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.

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.

AndroidCVEReverse Engineering
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.

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.

AndroidCrash analysisDebugging
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.

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

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

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.

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

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

AndroidLayoutText 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 PagesOperating Systems
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.

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

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

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

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

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

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

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

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

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

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

APK Shrinking Practices for JD Finance Android App

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

APKAndroidGradle
0 likes · 20 min read
APK Shrinking Practices for JD Finance Android App