cherrypick Change-Id: I9f4688a7eb3dfc22f423c114befc665f7f83f168
docs: add JNI Tips doc to the dev guide sidenav Change-Id: I7522ba8bcad96d5c424f7e894e62ceb700df3027
This commit is contained in:
@@ -733,9 +733,16 @@
|
||||
<li><a href="<?cs var:toroot ?>guide/practices/design/accessibility.html">
|
||||
<span class="en">Designing for Accessibility</span>
|
||||
</a></li>
|
||||
<li><a href="<?cs var:toroot ?>guide/practices/design/performance.html">
|
||||
<li class="toggle-list">
|
||||
<div><a href="<?cs var:toroot ?>guide/practices/design/performance.html">
|
||||
<span class="en">Designing for Performance</span>
|
||||
</a></li>
|
||||
</a> <span class="new-child">new!</span></div>
|
||||
<ul>
|
||||
<li><a href="<?cs var:toroot ?>guide/practices/design/jni.html">
|
||||
<span class="en">JNI Tips</span>
|
||||
</a> <span class="new">new!</span></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="<?cs var:toroot ?>guide/practices/design/responsiveness.html">
|
||||
<span class="en">Designing for Responsiveness</span>
|
||||
</a></li>
|
||||
|
||||
@@ -6,7 +6,6 @@ page.title=JNI Tips
|
||||
|
||||
<h2>In this document</h2>
|
||||
<ol>
|
||||
<li><a href="#what">What is JNI?</a></li>
|
||||
<li><a href="#JavaVM_and_JNIEnv">JavaVM and JNIEnv</a></li>
|
||||
<li><a href="#threads">Threads</a></li>
|
||||
<li><a href="#jclass_jmethodID_and_jfieldID">jclass, jmethodID, and jfieldID</a></li>
|
||||
@@ -27,9 +26,6 @@ page.title=JNI Tips
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a name="what_is_jni" id="what_is_jni"></a>
|
||||
<h2>What is JNI?</h2>
|
||||
|
||||
<p>JNI is the Java Native Interface. It defines a way for code written in the
|
||||
Java programming language to interact with native
|
||||
code, e.g. functions written in C/C++. It's VM-neutral, has support for loading code from
|
||||
|
||||
Reference in New Issue
Block a user