From fcb8745fcda3477f607307a0b027c955b8e2ee88 Mon Sep 17 00:00:00 2001 From: David Friedman Date: Wed, 27 May 2015 10:35:55 -0700 Subject: [PATCH] Docs: Samples-tab material for NDK minisite. Change-Id: I0ae1bf83feb2a8cab97e3911f7069b19ae818ffa --- docs/html-ndk/ndk/samples/downloads.jd | 24 ---------------- docs/html-ndk/ndk/samples/index.jd | 27 +++++++++++++----- docs/html-ndk/ndk/samples/sample_hellojni.jd | 2 +- docs/html-ndk/ndk/samples/sample_na.jd | 2 +- docs/html-ndk/ndk/samples/sample_teapot.jd | 2 +- .../html-ndk/ndk/samples/samples_download.zip | Bin 16314213 -> 0 bytes docs/html-ndk/ndk/samples/samples_toc.cs | 16 +++++------ docs/html-ndk/ndk/samples/walkthroughs.jd | 9 ++++-- 8 files changed, 37 insertions(+), 45 deletions(-) delete mode 100644 docs/html-ndk/ndk/samples/downloads.jd delete mode 100644 docs/html-ndk/ndk/samples/samples_download.zip diff --git a/docs/html-ndk/ndk/samples/downloads.jd b/docs/html-ndk/ndk/samples/downloads.jd deleted file mode 100644 index 3e5e3b78bea34..0000000000000 --- a/docs/html-ndk/ndk/samples/downloads.jd +++ /dev/null @@ -1,24 +0,0 @@ -page.title=Samples: Downloads -@jd:body - - - -

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

- - - -

Download the NDK Samples -

- diff --git a/docs/html-ndk/ndk/samples/index.jd b/docs/html-ndk/ndk/samples/index.jd index ce03f1c01e7e2..6b2cd164e4e0e 100644 --- a/docs/html-ndk/ndk/samples/index.jd +++ b/docs/html-ndk/ndk/samples/index.jd @@ -1,13 +1,26 @@ -page.title=Samples +page.title=Samples: Overview @jd:body -

Welcome to the NDK samples area. Here, you can -download a variety of sample apps to help -deepen your understanding of how to use the NDK. There are also detailed -walkthroughs of several -of the apps, providing additional insight into key topics.

+

Welcome to the NDK samples area. Here, you can download a variety of sample +apps to help deepen your understanding the NDK. -

These samples are also contained in the NDK installation package. They reside in + +

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

+ + + +

Note: 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.

+
+

+ Download ndk-samples.zip

+
diff --git a/docs/html-ndk/ndk/samples/sample_hellojni.jd b/docs/html-ndk/ndk/samples/sample_hellojni.jd index 8d11989932c83..fa61b28152fe8 100644 --- a/docs/html-ndk/ndk/samples/sample_hellojni.jd +++ b/docs/html-ndk/ndk/samples/sample_hellojni.jd @@ -18,7 +18,7 @@ page.title=Sample: hello-jni

This sample guides you through HelloJNI, a minimal application built with the NDK. This sample is in the {@code samples/hello-jni/} directory -under the root directory of your NDK installation.

+under the root directory of your NDK installation.

Android.mk

diff --git a/docs/html-ndk/ndk/samples/sample_na.jd b/docs/html-ndk/ndk/samples/sample_na.jd index a677de5f101c5..a706be57a066e 100644 --- a/docs/html-ndk/ndk/samples/sample_na.jd +++ b/docs/html-ndk/ndk/samples/sample_na.jd @@ -23,7 +23,7 @@ Java compiler still creates an executable stub for the virtual machine to run. The stub serves as a wrapper for the actual, native program, which is located in the {@code .so} file.

-

The app itself simply renders a color onto the entire screen, and +

The app itself simply renders a color onto the entire screen, and then changes the color partly in response to movement that it detects.

AndroidManifest.xml

diff --git a/docs/html-ndk/ndk/samples/sample_teapot.jd b/docs/html-ndk/ndk/samples/sample_teapot.jd index 6d19de6776bc0..97708a7cb0bcc 100644 --- a/docs/html-ndk/ndk/samples/sample_teapot.jd +++ b/docs/html-ndk/ndk/samples/sample_teapot.jd @@ -20,7 +20,7 @@ page.title=Sample: Teapot installation's root directory. This sample uses the OpenGL library to render the iconic Utah teapot. In particular, it showcases the {@code ndk_helper} helper class, -a collection of native helper functions required for implementing games and +a collection of native helper functions required for implementing games and similar applications as native applications. This class provides: