Tagged articles
15 articles
Page 1 of 1
AndroidPub
AndroidPub
Sep 15, 2025 · Mobile Development

Why Android 15’s Switch to 16KB Memory Pages Matters for Your App

Google’s shift to 16KB memory pages in Android 15, mandatory for Play Store submissions after November 1 2025, brings performance gains, reduces TLB misses, and forces native‑code developers to update build flags and eliminate hard‑coded 4KB assumptions to stay compliant.

AndroidMemory ManagementNDK
0 likes · 8 min read
Why Android 15’s Switch to 16KB Memory Pages Matters for Your App
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 2, 2025 · Mobile Development

Introduction to JNI and NDK Development for Android

This article provides a comprehensive introduction to Android NDK development, covering JNI fundamentals, data type mappings, method registration (static and dynamic), JNIEnv usage, CMake build configuration, and multiple practical code examples in Kotlin, C++, and C.

AndroidCCMake
0 likes · 12 min read
Introduction to JNI and NDK Development for Android
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
Liangxu Linux
Liangxu Linux
Oct 30, 2023 · Operations

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

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

AndroidFixed IPNDK
0 likes · 15 min read
How to Set Fixed IP for Dual Ethernet Ports on RK3568 Android Boards
Coolpad Technology Team
Coolpad Technology Team
Aug 5, 2022 · Mobile Development

Understanding Variable Refresh Rate on Android Devices and How to Control It

This article explains what variable refresh rate is on Android, how the platform determines the final refresh rate when multiple apps request different rates, and provides detailed SDK and NDK methods—including DisplayManager listeners, Surface.setFrameRate, and AChoreographer callbacks—to query and set refresh rates, as well as the underlying SurfaceFlinger vote and policy mechanisms that enforce these settings.

NDKSDKSurfaceFlinger
0 likes · 30 min read
Understanding Variable Refresh Rate on Android Devices and How to Control It
Sohu Tech Products
Sohu Tech Products
Jan 5, 2022 · Mobile Development

CameraX ImageAnalysis YUV‑to‑RGB Conversion Using libyuv and NDK

This article explains the new CameraX ImageAnalysis feature that adds YUV‑420_888 to RGBA_8888 conversion, discusses the underlying YUV and RGBA formats, compares Java/Kotlin, RenderScript and native libyuv implementations, and provides performance results and usage guidance for Android developers.

AndroidCameraXImageAnalysis
0 likes · 8 min read
CameraX ImageAnalysis YUV‑to‑RGB Conversion Using libyuv and NDK
vivo Internet Technology
vivo Internet Technology
Feb 22, 2021 · Mobile Development

Understanding and Analyzing Native Crashes (NE) in Android Development

The article explains Android native crashes (NE) by describing .so file composition, the need for un‑stripped libraries, how to view and generate stripped/un‑stripped binaries, and detailed workflows using ndk‑stack, DropBox, BreakPad, objdump, addr2line, and minidump_stackwalk to reconstruct stack traces and pinpoint source lines.

AndroidBreakpadDebugging
0 likes · 18 min read
Understanding and Analyzing Native Crashes (NE) in Android Development
Tencent TDS Service
Tencent TDS Service
Mar 28, 2019 · Mobile Development

How to Harden Android Apps: Anti‑Debugging Techniques for Java & NDK

This article explains practical anti‑debugging methods for Android applications—covering Java tools like Proguard and debugger checks, as well as NDK strategies such as ptrace, file‑node monitoring, Inotify, SO hash verification, and timing analysis—to raise reverse‑engineering difficulty.

AndroidAnti-debuggingApp Security
0 likes · 7 min read
How to Harden Android Apps: Anti‑Debugging Techniques for Java & NDK
360 Quality & Efficiency
360 Quality & Efficiency
May 7, 2018 · Mobile Development

Dynamic Loading of Native .so Libraries in Android Apps: Testing Strategies and Recommendations

The article explains why Android developers split large NDK‑generated .so files from the APK to reduce package size, outlines how to design comprehensive test points for dynamic loading, and provides practical suggestions for handling download, installation, compatibility, and upgrade scenarios.

AndroidDynamic LoadingMobile Development
0 likes · 6 min read
Dynamic Loading of Native .so Libraries in Android Apps: Testing Strategies and Recommendations
360 Quality & Efficiency
360 Quality & Efficiency
Apr 2, 2018 · Mobile Development

Using minicap for Fast Android Screen Capture

This article introduces the minicap tool—a native NDK‑based screen‑capture solution for Android—explaining its advantages over the built‑in screencap command, how to compile or obtain binaries, install them on a device, and run it to obtain high‑speed, low‑size screenshots for automation testing.

AndroidNDKminicap
0 likes · 5 min read
Using minicap for Fast Android Screen Capture
360 Quality & Efficiency
360 Quality & Efficiency
Jan 3, 2018 · Mobile Development

Analyzing and Extending Minicap for Dynamic Resolution and Rotation Handling

This article introduces the open‑source Android screen‑capture tool Minicap, examines its architecture and command‑line usage, and details code modifications that enable real‑time rotation detection, dynamic resolution changes, and inclusion of rotation metadata in the image stream for more reliable remote device display.

AndroidNDKclient-server
0 likes · 12 min read
Analyzing and Extending Minicap for Dynamic Resolution and Rotation Handling
Qunar Tech Salon
Qunar Tech Salon
Aug 3, 2017 · Information Security

Why Use LLVM for Obfuscation and How to Apply It in Android Development

This article explains the reasons for using LLVM to obfuscate Android applications, describes various LLVM-based obfuscation techniques such as instruction substitution, control‑flow flattening, bogus control flow, and custom passes, and illustrates their effects with diagrams.

AndroidLLVMMobile Development
0 likes · 2 min read
Why Use LLVM for Obfuscation and How to Apply It in Android Development
Hujiang Technology
Hujiang Technology
Jul 13, 2017 · Mobile Development

Resolving Threading and FindClass Issues in Android NDK

The article explains how upgrading the Android NDK introduces threading pitfalls such as ANR and FindClass failures, and provides step‑by‑step solutions using main‑thread class lookup, global references, and thread attachment to safely execute JNI calls in background threads.

AndroidFindClassJNI
0 likes · 4 min read
Resolving Threading and FindClass Issues in Android NDK