Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fcb8745f authored by David Friedman's avatar David Friedman
Browse files

Docs: Samples-tab material for NDK minisite.

Change-Id: I0ae1bf83feb2a8cab97e3911f7069b19ae818ffa
parent b7227c2b
Loading
Loading
Loading
Loading
+0 −24
Original line number Original line Diff line number Diff line
page.title=Samples: Downloads
@jd:body

<style>

.landing-button {
  min-width: 155px;
  text-align: center;
}
</style>

<p>From this page, you can download samples that provide a look at the NDK in action. A few of the
topics covered are:</p>

<ul>
   <li>Managing your native app's activity lifecycle.</li>
   <li>Using native OpenGL on an Android device.</li>
   <li>Implementing native audio.</li>
   <li>Exporting modules.</li>
</ul>

<p class="landing-button landing-secondary"><a href="{@docRoot}ndk/samples/samples_download.zip">Download the NDK Samples</a>
</p>
+20 −7
Original line number Original line Diff line number Diff line
page.title=Samples
page.title=Samples: Overview
@jd:body
@jd:body


<p>Welcome to the NDK samples area. Here, you can
<p>Welcome to the NDK samples area. Here, you can download a variety of sample
<a href="{@docRoot}ndk/samples/downloads.html">download</a> a variety of sample apps to help
apps to help deepen your understanding the NDK.
deepen your understanding of how to use the NDK. There are also detailed
<a href="{@docRoot}ndk/samples/walkthroughs.html">walkthroughs</a> of several
of the apps, providing additional insight into key topics.</p>


<p>These samples are also contained in the NDK installation package. They reside in

<p>From this page, you can download samples that provide a look at the NDK in action. A few of the
topics covered are:</p>

<ul>
   <li>Managing your native app's activity lifecycle.</li>
   <li>Using native OpenGL on an Android device.</li>
   <li>Implementing native audio.</li>
   <li>Exporting modules.</li>
</ul>

<p class="note"><strong>Note: </strong>These samples are also contained in the NDK installation
package; if you have already downloaded the NDK, you have them. They reside in
{@code $NDK/samples/}, where {@code $NDK} is the NDK installation root.</p>
{@code $NDK/samples/}, where {@code $NDK} is the NDK installation root.</p>


 <div id="sdk-terms-form">
      <p><a href="{@docRoot}shareables/ndk/ndk-samples.zip" class="button">
      Download ndk-samples.zip</a></p>
 </div>
−15.6 MiB

File deleted.

+8 −8
Original line number Original line Diff line number Diff line
@@ -7,22 +7,22 @@
?>
?>


<ul id="nav">
<ul id="nav">

   <li class="nav-section">
   <li class="nav-section">
      <div class="nav-section-header empty"><a href="<?cs var:toroot ?>ndk/samples/downloads.html">
      <div class="nav-section-header empty"><a href="<?cs var:toroot ?>ndk/samples/index.html">
      <span class="en">Downloads</span></a></div>
      <span class="en">Overview</span></a></div>
   </li>
   </li>


   <li class="nav-section">
   <li class="nav-section">
      <div class="nav-section-header">
      <div class="nav-section-header">
      <a href="<?cs var:toroot ?>ndk/samples/walkthroughs.html"><span class="en">
      <a href="<?cs var:toroot ?>ndk/samples/walkthroughs.html">
      Walkthroughs</span></a></div>
      <span class="en">Walkthroughs</span></a></div>
      <ul>
      <ul>
         <li><a href="<?cs var:toroot ?>ndk/samples/sample_hellojni.html">hello-jni</a></li>
         <li><a href="<?cs var:toroot ?>ndk/samples/sample_hellojni.html">hello-jni</a></li>
      <li><a href="<?cs var:toroot ?>ndk/samples/sample_na.html">sample-na</a></li>
         <li><a href="<?cs var:toroot ?>ndk/samples/sample_na.html">native-activity</a></li>
         <li><a href="<?cs var:toroot ?>ndk/samples/sample_teapot.html">Teapot</a></li>
         <li><a href="<?cs var:toroot ?>ndk/samples/sample_teapot.html">Teapot</a></li>
      </ul>
      </ul>
   </li>
   </li>

</ul>
</ul>




+6 −3
Original line number Original line Diff line number Diff line
@@ -4,7 +4,10 @@ page.title=Samples: Walkthroughs
<p>This section provides detailed walkthroughs of several key samples. The samples are as
<p>This section provides detailed walkthroughs of several key samples. The samples are as
follows:</p>
follows:</p>


<li><a href="{@docRoot}ndk/samples/sample_hellojni.html">hello-jni</a>: A very basic app that illustrates core workings of the NDK.</li>
<li><a href="{@docRoot}ndk/samples/sample_hellojni.html">hello-jni</a>: A very basic app that
<li><a href="{@docRoot}ndk/samples/sample_na.html">native-activity</a>: An app that shows the fundamentals of constructing a purely native app. It places particular emphasis on the
illustrates core workings of the NDK.</li>
<li><a href="{@docRoot}ndk/samples/sample_na.html">native-activity</a>: An app that shows the
fundamentals of constructing a purely native app. It places particular emphasis on the
{@code android_native_app_glue library}.</li>
{@code android_native_app_glue library}.</li>
<li><a href="<a href="{@docRoot}ndk/samples/sample_teapot.html">Teapot</a>: A simple OpenGL demo, showcasing the <code>ndk_helper</code> class.</li>
<li><a href="<a href="{@docRoot}ndk/samples/sample_teapot.html">Teapot</a>: A simple OpenGL demo,
 No newline at end of file
showcasing the <code>ndk_helper</code> class.</li>
+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

Loading