Return to book
Review this book
About the author
Introduction
1.
jni
1.1.
Process Overview
1.1.1.
Step 1: Write Java Code
1.1.2.
Step 2: Compile with *javac*
1.1.3.
Step 3: Create Header File with *javah*
1.1.4.
Step 4: Write Native Methods in C
1.1.5.
Step 5: Compile native code into shared library
1.1.6.
Step 6: Run with `.class` and shared library
1.2.
Detail
1.2.1.
Header File
1.2.2.
JNI Function
1.2.3.
Another Example
1.2.4.
Throw Exception in Native Function
1.2.5.
Access Properties And Methods From Native Code
2.
Gradle
2.1.
Hello World
2.2.
Tasks Dependency And Dynamic Tasks
2.3.
Default Task
2.4.
Task Property
2.5.
Using Method
3.
Bluetooth
3.1.
JSR 82
3.2.
Prepare Environment
3.3.
Remote Device Discovery
3.4.
Bluecove in RPi
Powered by
GitBook
A
A
Serif
Sans
White
Sepia
Night
Twitter
Google
Facebook
Weibo
Instapaper
Learn Java
Detail of the example
This section looks more deeply into the example on previous section.