summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2016-02-09 16:12:02 -0800
committer Elliott Hughes <enh@google.com> 2016-02-09 16:12:02 -0800
commit3edfa8f67bc428435f96b050bf3a0b00b6be4d20 (patch)
treef3d64ffb975b9369435003063ab36d8ef59790b8
parent700ed048f9c860fb18439ef79a8b7b107e7fe054 (diff)
The NDK samples moved a while back.
Change-Id: I10f419b0ad58f9c5417a3f06775e298c74f284dc
-rw-r--r--core/java/android/app/NativeActivity.java12
1 files changed, 2 insertions, 10 deletions
diff --git a/core/java/android/app/NativeActivity.java b/core/java/android/app/NativeActivity.java
index dcf1c8019d4f..b0f6bfe61b0f 100644
--- a/core/java/android/app/NativeActivity.java
+++ b/core/java/android/app/NativeActivity.java
@@ -45,16 +45,8 @@ import java.io.File;
* is no need to derive from this class; you can simply declare it in your
* manifest, and use the NDK APIs from there.
*
- * <p>A typical manifest would look like:
- *
- * {@sample development/ndk/platforms/android-9/samples/native-activity/AndroidManifest.xml
- * manifest}
- *
- * <p>A very simple example of native code that is run by NativeActivity
- * follows. This reads input events from the user and uses OpenGLES to
- * draw into the native activity's window.
- *
- * {@sample development/ndk/platforms/android-9/samples/native-activity/jni/main.c all}
+ * <p>A <a href="https://github.com/googlesamples/android-ndk/tree/master/native-activity">sample
+ * native activity</a> is available in the NDK samples.
*/
public class NativeActivity extends Activity implements SurfaceHolder.Callback2,
InputQueue.Callback, OnGlobalLayoutListener {