android-jni
CommunitySafer Android JNI, fewer crashes
AuthorBinh230199
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you write, review, and debug JNI code that connects Android Java or Kotlin with C or C++ native code, reducing crashes, memory leaks, and threading bugs across the native boundary.
Core Features & Use Cases
- Native method implementation: Define and name JNI entry points correctly for Java and Kotlin classes.
- Type and memory safety: Handle strings, arrays, local references, global references, and exception propagation without leaking resources.
- Threading and callbacks: Attach background native threads to the JVM, cache class and method IDs, and call Java listeners safely from C++.
- Use case: When an Android app needs to stream audio or process hardware data in native code, this Skill guides the JNI layer so the bridge is stable, efficient, and maintainable.
Quick Start
Use the android-jni skill to review or implement the JNI bridge for your Android class or method and check naming, type conversion, reference lifetimes, exceptions, and threading behavior.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: android-jni Download link: https://github.com/Binh230199/ai/archive/main.zip#android-jni Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.