Tagged articles
1817 articles
Page 3 of 19
Airbnb Technology Team
Airbnb Technology Team
Sep 19, 2024 · Mobile Development

How Airbnb Instruments Android Apps to Capture User‑Centric Performance Metrics

Airbnb’s Android Page Performance Score (PPS) framework instruments fragments to collect user‑centric metrics such as TTFL, TTIL, MTH, ALT and RCLT, using a standardized logging config, LoadableView interface, and visibility algorithms, enabling detailed performance analysis and automated alerts for mobile teams.

AndroidInstrumentationMetrics
0 likes · 10 min read
How Airbnb Instruments Android Apps to Capture User‑Centric Performance Metrics
Bitu Technology
Bitu Technology
Sep 13, 2024 · Mobile Development

Seamless Single‑Player Video and Ad Playback on Android with Media3/ExoPlayer

The Tubi Android team replaced a dual‑player architecture with a single Media3/ExoPlayer instance, achieving smoother video‑ad transitions, reduced buffering, lower error rates, and improved business metrics, while also addressing decoder‑initialization failures, non‑key‑frame ad buffering, and subtitle timing issues.

Ad InsertionAndroidExoPlayer
0 likes · 10 min read
Seamless Single‑Player Video and Ad Playback on Android with Media3/ExoPlayer
Sohu Tech Products
Sohu Tech Products
Sep 11, 2024 · Mobile Development

Implementation of a Simple RedBook App Using Jetpack Compose with VersionCatalog, Navigation, Paging3, and Custom Layouts

The article walks through building a lightweight RedBook‑style Android app with Jetpack Compose, demonstrating modern techniques such as Gradle Version Catalog for dependency management, Navigation Compose routing, Paging3 data pagination, custom layouts and scroll handling, shared‑element transitions, edge‑to‑edge theming, and a bespoke circular progress indicator.

AndroidCustom LayoutJetpack Compose
0 likes · 17 min read
Implementation of a Simple RedBook App Using Jetpack Compose with VersionCatalog, Navigation, Paging3, and Custom Layouts
21CTO
21CTO
Sep 9, 2024 · Information Security

Why Google Is Rewriting Android Firmware in Rust—and What It Means for Memory Safety

Google has rebuilt the protected virtual‑machine firmware of its Android virtualization framework in Rust, highlighting the language’s safety benefits, productivity gains, and the broader push from both industry and the U.S. government to eliminate memory‑safety bugs in critical software.

AndroidGoogleMemory Safety
0 likes · 5 min read
Why Google Is Rewriting Android Firmware in Rust—and What It Means for Memory Safety
Java Tech Enthusiast
Java Tech Enthusiast
Sep 6, 2024 · Mobile Development

Bundle vs HashMap in Android: Memory Efficiency and Performance

In Android, Bundles backed by memory‑efficient ArrayMap use binary search and shrinkable storage, making them far smaller and faster to transmit than HashMaps, whose fixed‑size growth and lack of shrinkage consume more memory; thus Parcelable Bundles are preferred for IPC, while Serializable remains suited only for persistent storage.

AndroidArrayMapHashMap
0 likes · 5 min read
Bundle vs HashMap in Android: Memory Efficiency and Performance
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Sep 6, 2024 · Mobile Development

Understanding VINTF and Compatibility Matrices in Android Project Treble

Project Treble’s VINTF framework separates vendor and Android OS layers by using XML manifests and compatibility matrices—Device Manifest, Framework Compatibility Matrix, Framework Manifest, and Device Compatibility Matrix—to define HAL versions and requirements, while the libvintf tool validates these relationships during builds, OTA updates, and boot, ensuring reliable vendor‑framework integration.

AndroidCompatibility MatrixHAL
0 likes · 15 min read
Understanding VINTF and Compatibility Matrices in Android Project Treble
Sohu Tech Products
Sohu Tech Products
Sep 5, 2024 · Mobile Development

Implementing a Simple Danmu (Bullet Screen) Effect Using RecyclerView and StaggeredGridLayoutManager in Android

The article demonstrates how to create a lightweight, infinite‑scrolling danmu (bullet‑screen) effect in Android by embedding a RecyclerView inside a custom DanMuView, using StaggeredGridLayoutManager for multi‑row layout and a scrollBy‑based Runnable to continuously scroll and control speed.

AndroidBulletScreenDanmu
0 likes · 10 min read
Implementing a Simple Danmu (Bullet Screen) Effect Using RecyclerView and StaggeredGridLayoutManager in Android
21CTO
21CTO
Sep 4, 2024 · Mobile Development

What’s New in Android 15? Key Features and Developer Changes

Android 15 has officially launched, bringing AOSP integration, expanded device rollout, enhanced typography, camera and media improvements, refined user experience, and strengthened privacy and security features such as private spaces, key‑login support, and new anti‑hijacking measures, while offering developers updated APIs and tools.

AndroidAndroid15OS Updates
0 likes · 6 min read
What’s New in Android 15? Key Features and Developer Changes
Bilibili Tech
Bilibili Tech
Sep 3, 2024 · Mobile Development

USB Wired Screen Casting for iOS and Android on Windows

The article details a USB‑based wired screen‑casting solution for iOS and Android on Windows, explaining how to replace wireless LAN casting with driver‑installed USB communication, using libimobiledevice and libusbK to capture, encode (H.264/AAC), package into FLV, transfer via a custom header, and restore original device drivers after use.

AndroidUSBWindows
0 likes · 22 min read
USB Wired Screen Casting for iOS and Android on Windows
iQIYI Technical Product Team
iQIYI Technical Product Team
Aug 30, 2024 · Mobile Development

Enhancing Hotfixes for QiYiGuo TV Using Robust and Plugin Mechanisms

To improve QiYiGuo TV’s rapid issue resolution, the team adopted Robust as the core hot‑fix engine and extended it with KRobust to handle reflection, Kotlin methods, enum‑switch mapping, and native‑library swaps, while building an automated deployment platform that now achieves over 95% fix rate and reduces average repair time from three days to under 24 hours across hundreds of channel APKs.

AndroidDeploymentHotfix
0 likes · 16 min read
Enhancing Hotfixes for QiYiGuo TV Using Robust and Plugin Mechanisms
Sohu Tech Products
Sohu Tech Products
Aug 28, 2024 · Mobile Development

AutoHeightViewPager: Dynamically Adjusting ViewPager Height in Android

The article introduces AutoHeightViewPager, a custom ViewPager subclass that measures the current page’s view height and overrides onMeasure to resize itself, interpolating between pages during scroll via an AutoHeightPager‑compatible adapter, thereby eliminating blank space or clipping and providing smooth height transitions for variable‑sized content.

AndroidCustom ViewKotlin
0 likes · 9 min read
AutoHeightViewPager: Dynamically Adjusting ViewPager Height in Android
Sohu Tech Products
Sohu Tech Products
Aug 28, 2024 · Mobile Development

Implementing Firework Like Animation Effect in Android Apps

The article walks through creating a firework‑style animation for Android like buttons by building a custom ParticleDrawingView that renders launch particles and exploding spark groups on a Canvas, using ValueAnimator with configurable durations and interpolators to control four animation phases and particle properties such as position, velocity, alpha, and rotation.

AndroidCanvasInterpolator
0 likes · 10 min read
Implementing Firework Like Animation Effect in Android Apps
Huolala Tech
Huolala Tech
Aug 23, 2024 · Mobile Development

How to Detect and Debug SIGSEGV Memory Corruption in Android Native Apps

This article explains the common causes of SIGSEGV crashes in Android native code, demonstrates classic memory‑corruption patterns such as Use‑After‑Free, Double‑Free and heap buffer overflow, and presents a practical memory‑debugging solution inspired by Gwp‑ASan with custom guard pages, hook strategies, and stack capture techniques.

AndroidGwp-ASanNative Debugging
0 likes · 24 min read
How to Detect and Debug SIGSEGV Memory Corruption in Android Native Apps
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Aug 23, 2024 · Mobile Development

GPU Command and Syncpoint Analysis on SM8650 Platform

On the SM8650 platform, GLES issues synchronous and draw commands that the kernel‑mode driver translates into kgsl_drawobj structures, queues them in per‑context dispatch lists, processes fence, timestamp, and timeline syncpoints via dedicated kernel threads, and finally submits draw objects to the GPU firmware, with eglSwapBuffers triggering a fence syncpoint, a draw command, and a GPU fence creation.

AndroidGPUGraphics
0 likes · 12 min read
GPU Command and Syncpoint Analysis on SM8650 Platform
Inke Technology
Inke Technology
Aug 21, 2024 · Information Security

Can You Hide Android App Features from AI‑Based Detection? A Dynamic Obfuscation Guide

This article explores why Android apps are increasingly linked in AI‑driven security assessments, examines academic papers on feature extraction, compares static and dynamic obfuscation techniques, reviews industry protection solutions, and proposes a plug‑in‑based dynamic obfuscation framework that maximizes feature dispersion while preserving app functionality.

AndroidApp ObfuscationDynamic analysis
0 likes · 40 min read
Can You Hide Android App Features from AI‑Based Detection? A Dynamic Obfuscation Guide
Java Tech Enthusiast
Java Tech Enthusiast
Aug 20, 2024 · Mobile Development

Aria Download Framework Developer Deletes All Source Code from GitHub

The creator of Aria, a popular lightweight Android download framework with over 5,600 GitHub stars that offers rich APIs for tasks such as pause, resume, and multi‑threaded downloads, has permanently removed all source code from the repository, saying the decision was forced by a scam and ensuing legal complications.

AndroidGitHubdownload-framework
0 likes · 2 min read
Aria Download Framework Developer Deletes All Source Code from GitHub
Sohu Tech Products
Sohu Tech Products
Aug 14, 2024 · Mobile Development

Understanding Flutter Status Bar Height: Why MediaQuery.padding.top Returns 0

In Flutter, MediaQuery.of(context).padding.top reports the system UI inset rather than the actual status‑bar height, and when a Scaffold (especially with an AppBar) consumes this padding the value becomes zero, so developers must read the raw view padding via WidgetsBinding or MediaQueryData.fromView to reliably obtain the status‑bar height.

AndroidDARTFlutter
0 likes · 5 min read
Understanding Flutter Status Bar Height: Why MediaQuery.padding.top Returns 0
Architect
Architect
Aug 8, 2024 · Mobile Development

How to Build a Passive Weak‑Network Diagnosis System for Mobile Apps

This article details the design and implementation of a passive weak‑network diagnosis framework for a mobile app, covering background, overall architecture, data collection of HttpRTT and throughput, filtering strategies, weighted median calculations, caching, interface design, threshold definitions, performance metrics, and practical application scenarios.

AndroidHttpRTTNetwork Diagnostics
0 likes · 24 min read
How to Build a Passive Weak‑Network Diagnosis System for Mobile Apps
Huolala Tech
Huolala Tech
Aug 5, 2024 · Mobile Development

Why Android Apps Crash on Huawei Devices: TooManyRequestsException Explained and Fixes

Starting in April, several Android projects began crashing on Huawei HarmonyOS devices with TooManyRequestsException errors; this article details the investigation, source code analysis of registerDefaultNetworkCallback across Android versions, and proposes instrumentation and code‑level solutions to prevent excessive network callback registrations.

AndroidHuaweiInstrumentation
0 likes · 16 min read
Why Android Apps Crash on Huawei Devices: TooManyRequestsException Explained and Fixes
Sohu Tech Products
Sohu Tech Products
Jul 31, 2024 · Backend Development

How to Adapt Android 15 Apps to 16K Page Size – A Complete Guide

This article walks through why Android 15’s 16 KB page size is a hidden trap for native libraries, shows how to locate 4 KB assumptions in code, and provides step‑by‑step CMake/Android‑mk adjustments, tooling commands, and debugging tips to ensure your .so files load correctly.

16KB page sizeAndroidCMake
0 likes · 9 min read
How to Adapt Android 15 Apps to 16K Page Size – A Complete Guide
ITPUB
ITPUB
Jul 28, 2024 · Mobile Development

Why Do WebP Photos Corrupt on Android? A Deep Dive into AES Encryption Bugs

An Android app that stores shop‑sign photos began corrupting WebP images at a stable 1/200 rate, leading to a thorough investigation of the storage module, AES encryption implementation, and thread safety, ultimately uncovering a faulty string‑length check that broke binary image handling.

AES encryptionAndroidDebugging
0 likes · 16 min read
Why Do WebP Photos Corrupt on Android? A Deep Dive into AES Encryption Bugs
Sohu Tech Products
Sohu Tech Products
Jul 24, 2024 · Mobile Development

Performance Optimization for Emoji Deletion in Android EditText Using Profiler and Emoji2

Using Android Profiler we discovered that deleting many custom emojis in an EditText triggers repeated DynamicLayout ChangeWatcher calls, causing up to two‑second lag, and by adopting the emoji2 library’s EmojiSpan rendering with a custom EditableFactory that suppresses onSpanChanged for emoji spans, the lag is eliminated.

AndroidEditTextEmoji
0 likes · 10 min read
Performance Optimization for Emoji Deletion in Android EditText Using Profiler and Emoji2
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 24, 2024 · Mobile Development

Practical Lessons from Upgrading a Large Android Codebase to AGP 8.2.2

This article details a three‑month, multi‑step migration of a large Android monorepo from AGP 7.2.2 to 8.2.2, covering Transform API deprecation, namespace handling, Gradle and JDK upgrades, build‑feature toggles, third‑party library adaptations, performance optimizations, and the troubleshooting of numerous compilation pitfalls.

AGPAndroidBuild Optimization
0 likes · 18 min read
Practical Lessons from Upgrading a Large Android Codebase to AGP 8.2.2
OPPO Amber Lab
OPPO Amber Lab
Jul 22, 2024 · Information Security

Exploiting AIDL and Parcelable Mismatches in Android IPC

This article examines how mismatched read/write implementations in Android's Parcelable and AIDL mechanisms create exploitable IPC vulnerabilities, outlines several historical bug patterns, and discusses potential attack vectors and mitigation strategies.

AIDLAndroidIPC
0 likes · 11 min read
Exploiting AIDL and Parcelable Mismatches in Android IPC
21CTO
21CTO
Jul 20, 2024 · Mobile Development

How Google’s Project IDX Brings Android Studio to the Cloud

Google announced that its cloud‑based IDE Project IDX will soon integrate Android Studio, allowing developers to code, test with a built‑in Android emulator, and run Android projects directly in a browser without installing any local tools, though access currently requires a wait‑list application.

AndroidAndroid StudioCloud IDE
0 likes · 4 min read
How Google’s Project IDX Brings Android Studio to the Cloud
DaTaobao Tech
DaTaobao Tech
Jul 15, 2024 · Mobile Development

First‑Frame Optimization for Mobile Apps: Principles, Metrics, and Strategies

Optimizing a mobile app’s first frame—by defining scope, measuring latency, using profiling tools, and applying strategies such as pre‑loading, lazy initialization, parallel processing, and skeleton screens—boosts brand perception, conversion rates, and resource efficiency, while requiring continuous monitoring, A/B testing, and anti‑degradation safeguards.

Androidfirst frame optimizationmobile performance
0 likes · 15 min read
First‑Frame Optimization for Mobile Apps: Principles, Metrics, and Strategies
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 13, 2024 · Information Security

OpenCoreAnalysisKit: Open‑Source Offline Memory Core File Analysis Suite for Android

This article introduces the OpenCoreAnalysisKit project, an open‑source suite for offline analysis of Android Core memory files across multiple architectures, detailing its components, build requirements, usage guides for kernel‑ and user‑mode debugging, and various command‑line tools and code snippets for comprehensive reverse‑engineering and memory‑analysis workflows.

AndroidDebuggingMemory analysis
0 likes · 20 min read
OpenCoreAnalysisKit: Open‑Source Offline Memory Core File Analysis Suite for Android
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jul 12, 2024 · Mobile Development

In-depth Analysis of Android Binder IPC Mechanism (Android 14 & Kernel 6.1)

This article walks through Android Binder IPC on Android 14 and Linux 6.1, detailing client‑side service registration and lookup, the kernel driver’s handling of parcels, reference management, and how ServiceManager maps names to IBinder objects, culminating in a diagram of the full native‑to‑kernel transaction flow.

AndroidAndroid14Binder
0 likes · 22 min read
In-depth Analysis of Android Binder IPC Mechanism (Android 14 & Kernel 6.1)
Sohu Tech Products
Sohu Tech Products
Jul 10, 2024 · Mobile Development

A New Technical Solution for Android Nested Scrolling: NestedScrollFrameLayout

Introducing NestedScrollFrameLayout, a FrameLayout subclass that implements NestedScrollingChild, enables any wrapped view to participate in Android nested scrolling—including touch and fling—without modifying the child, offering one‑click integration, smoother continuous scrolls, and dramatically lower development and maintenance costs.

AndroidCustom ViewFling
0 likes · 12 min read
A New Technical Solution for Android Nested Scrolling: NestedScrollFrameLayout
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jul 9, 2024 · Mobile Development

Making Android Baseline Profiles Work with Obfuscation, Market Limits, and Hot‑Fixes

This article explains how Baseline Profiles improve Android app start‑up performance, analyzes three major obstacles—unsupported app stores, dex‑crc mismatches caused by code‑obfuscation, and hot‑fix dex incompatibility—and provides concrete solutions including active optimization, dex‑name correction tasks, and profile injection during patch synthesis.

AndroidAoTBaseline Profiles
0 likes · 18 min read
Making Android Baseline Profiles Work with Obfuscation, Market Limits, and Hot‑Fixes
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 6, 2024 · Mobile Development

Flutter‑Android Hybrid Integration: Mixed Modules, Engine Management, Architecture, Debugging and Packaging

This comprehensive guide explains how to integrate Flutter into an existing Android app using source and AAR approaches, manage multiple Flutter engines with FlutterEngineGroup, choose hybrid stack solutions such as flutter_boost and flutter_thrio, apply MVVM architecture with Riverpod, and handle debugging and APK packaging.

AARAndroidEngine Management
0 likes · 34 min read
Flutter‑Android Hybrid Integration: Mixed Modules, Engine Management, Architecture, Debugging and Packaging
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jul 5, 2024 · Mobile Development

Understanding and Analyzing Android ANR (Application Not Responding) Issues

This article explains Android ANR (Application Not Responding) fundamentals, detailing its four types, underlying causes such as main‑thread blocking and deadlocks, the system’s timeout mechanisms, step‑by‑step analysis workflow, trace interpretation, and practical best‑practice tips to prevent and resolve ANR problems.

ANRAndroidDebugging
0 likes · 15 min read
Understanding and Analyzing Android ANR (Application Not Responding) Issues
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 27, 2024 · Mobile Development

State Management in Jetpack Compose: remember, MutableState, ViewModel, StateFlow, LiveData, and Effect APIs

Jetpack Compose’s state management techniques—including remember, mutableStateOf, ViewModel integration, StateFlow, LiveData, state lifting, and various side‑effect APIs such as LaunchedEffect, rememberCoroutineScope, and DisposableEffect—are explained with Kotlin code examples to help Android developers build robust, reactive UI components.

AndroidEffect APIJetpack Compose
0 likes · 15 min read
State Management in Jetpack Compose: remember, MutableState, ViewModel, StateFlow, LiveData, and Effect APIs
Sohu Tech Products
Sohu Tech Products
Jun 20, 2024 · Fundamentals

Mastering UseCase: Avoid Common Pitfalls and Follow Best Practices in Android Architecture

This article examines the role of UseCase in Android's modern architecture, clarifies its responsibilities, demonstrates proper naming, thread‑safety, signature design, referential transparency, and interface abstraction, and provides concrete Kotlin examples of both incorrect and correct implementations.

AndroidClean ArchitectureDomain Layer
0 likes · 10 min read
Mastering UseCase: Avoid Common Pitfalls and Follow Best Practices in Android Architecture
Linux Code Review Hub
Linux Code Review Hub
Jun 15, 2024 · Mobile Development

Scudo’s Evolution in Android 15: Optimizing Speed, Safety, and Memory Efficiency

The article examines how Android’s Scudo memory allocator has been refined over the past three years, detailing its four design goals, the cache and thread‑specific data mechanisms for fast allocation, strategies to balance safe memory release with performance, and the group‑based approach that reduces fragmentation while preserving security.

AndroidCacheMemory Allocator
0 likes · 11 min read
Scudo’s Evolution in Android 15: Optimizing Speed, Safety, and Memory Efficiency
Sohu Tech Products
Sohu Tech Products
Jun 5, 2024 · Mobile Development

Android KAPT Build Optimization: From Analysis to KSP Migration and IDE Plugin Solutions

The article analyzes why KAPT consumes 82% of Android‑Kotlin build time and presents three optimization strategies—enabling KAPT incremental compilation, migrating to the faster KSP processor, and creating an Android Studio plugin that generates code at development time—detailing their implementation steps, performance gains, and trade‑offs.

AndroidAndroid Studio PluginAnnotation Processor
0 likes · 40 min read
Android KAPT Build Optimization: From Analysis to KSP Migration and IDE Plugin Solutions
Kuaishou Tech
Kuaishou Tech
May 22, 2024 · Mobile Development

Technical Deep Dive into the Music Bullet (弹幕) System in a K‑Song Community

This article provides a comprehensive technical analysis of the music bullet feature in a K‑song community, detailing its core roles, client‑side production and consumption pipelines, real‑time mixing, alignment, volume balancing, precise seeking, performance optimizations, scalability, and sharing mechanisms across iOS and Android platforms.

AndroidAudio ProcessingiOS
0 likes · 18 min read
Technical Deep Dive into the Music Bullet (弹幕) System in a K‑Song Community
JD Cloud Developers
JD Cloud Developers
May 22, 2024 · Mobile Development

How I Reduced a Rust Android Dynamic Library from 495KB to 95KB

This article explains how the size of a Rust‑based Android dynamic library, initially 495 KB, was dramatically reduced to 95 KB through compiler optimization levels, link‑time optimization, panic handling changes, stripping unused sections, and custom linker scripts, providing practical tips for mobile developers.

AndroidDynamic LibraryLTO
0 likes · 11 min read
How I Reduced a Rust Android Dynamic Library from 495KB to 95KB
JD Tech Talk
JD Tech Talk
May 22, 2024 · Mobile Development

Optimizing Rust Android Dynamic Library Size: Strategies and Results

This article details how the author reduced the size of a Rust‑based Android JNI dynamic library from 495 KB to 95 KB by adjusting compiler optimization levels, enabling LTO, switching panic handling to abort, removing unused strings, applying panic_immediate_abort, and crafting a custom linker script, while providing code snippets and size comparison tables.

AndroidBinary Size OptimizationLTO
0 likes · 11 min read
Optimizing Rust Android Dynamic Library Size: Strategies and Results
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 22, 2024 · Mobile Development

Android MVVM Architecture

This article explains the MVVM (Model-View-ViewModel) architecture for modern Android development, detailing its three core components, their responsibilities, and provides a step‑by‑step example with Jetpack components, including LiveData, ViewModel, View Binding, and complete code snippets to build a simple user list UI.

AndroidJavaKotlin
0 likes · 8 min read
Android MVVM Architecture
37 Interactive Technology Team
37 Interactive Technology Team
May 20, 2024 · Game Development

Introduction and Implementation of MaxSDK for Unity Cross‑Platform Game Development

The article presents MaxSDK, a unified C# SDK for Unity that abstracts platform‑specific native SDKs across Android, iOS, Windows, macOS and future platforms, offering a singleton interface, abstract base classes, data models, and callback listeners to dramatically cut integration effort, maintenance cost, and enable easy extension to other engines.

AndroidCGame Development
0 likes · 21 min read
Introduction and Implementation of MaxSDK for Unity Cross‑Platform Game Development
Sohu Tech Products
Sohu Tech Products
May 15, 2024 · Mobile Development

Implementing Grid Drag-and-Drop in Android RecyclerView Using ItemTouchHelper

The article explains how to implement a performant, draggable grid in Android by using RecyclerView with ItemTouchHelper, detailing event interception, view translation via matrix or translation properties, efficient data swapping, custom item decorations for spacing, and handling drawing order for older Android versions.

AndroidDragAndDropGridLayout
0 likes · 16 min read
Implementing Grid Drag-and-Drop in Android RecyclerView Using ItemTouchHelper
21CTO
21CTO
May 15, 2024 · Artificial Intelligence

Google I/O 2024: How AI Is Redefining Android, Chrome, and Cloud Development

Google I/O 2024 showcased a sweeping AI focus, unveiling Gemini 1.5 models, AI‑enhanced Android, Chrome’s Gemini Nano integration, the Project IDX AI‑powered IDE, and the new Firebase Genkit framework, while hinting at broader impacts on development tools and cloud services.

AndroidChromeGemini
0 likes · 13 min read
Google I/O 2024: How AI Is Redefining Android, Chrome, and Cloud Development
vivo Internet Technology
vivo Internet Technology
May 15, 2024 · Information Security

Analysis of Android FileProvider, startAnyWhere, and Parcel Asymmetric Vulnerabilities and Exploitation

The article dissects three Android flaws—a misconfigured FileProvider, the privileged startAnyWhere capability, and asymmetric Parcel serialization—showing how their interaction lets an attacker hide a malicious Intent, bypass export checks, read private data, alter system settings, and gain elevated privileges, while outlining mitigation strategies.

AndroidExploitFileProvider
0 likes · 19 min read
Analysis of Android FileProvider, startAnyWhere, and Parcel Asymmetric Vulnerabilities and Exploitation
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.

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

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

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

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

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

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

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

AndroidDynamic LoadingMobile Development
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.

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

AndroidData FlowObservability
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 APIHook
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 DevelopmentSDK
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.

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

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

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.

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.

AndroidBoot ProcessDevice Tree
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