Android API Instructions
<h3>Android API Instructions</h3>
<p>NodkaAPI entry class</p>
<p>NodkaAPI usage:</p>
<ol>
<li>Create a NodkaAPI instance in onCreate of the Application</li>
</ol>
<pre><code class="language-java">mNodkaAPI = NodkaAPI.nodkaAPICreate(this);</code></pre>
<ol>
<li>Using an API in an Activity or Fragment:</li>
</ol>
<pre><code class="language-java">private NodkaAPI mNodkaAPI = APIApplication.getApplication().getNodkaAPI();</code></pre>
<p>NodkaAPI interface description:</p>
<p>1, starting with devinfo is the hardware and system information query api</p>
<p>2, starting with display is the display control class api</p>
<p>3, starting with gpio is the GPIO control class api</p>
<p>4, The serial port control api starts with uart</p>
<p>5, starting with sysctrl is the system control class api, including timing switch machine</p>