Tag

NDK

0 views collected around this technical thread.

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.

C++JNIKotlin
0 likes · 12 min read
Introduction to JNI and NDK Development for Android
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.

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

BreakpadNDKNative Crash
0 likes · 18 min read
Understanding and Analyzing Native Crashes (NE) in Android Development
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.

Mobile DevelopmentNDKNative Libraries
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.

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

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

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

FindClassJNINDK
0 likes · 4 min read
Resolving Threading and FindClass Issues in Android NDK
Baidu Intelligent Testing
Baidu Intelligent Testing
Mar 15, 2017 · Information Security

Comprehensive Guide to Android Application Security Scanning and Reverse Engineering

This article provides a step‑by‑step tutorial on setting up the development environment, installing essential tools, and performing APK reverse engineering and security analysis on Android applications, covering JDK, SDK, NDK, Apktool, Dex2jar, JD‑GUI, IDA, WinHex, and Eclipse.

APKAPKToolEclipse
0 likes · 16 min read
Comprehensive Guide to Android Application Security Scanning and Reverse Engineering