Merge "The NDK samples moved a while back."
This commit is contained in:
@@ -45,16 +45,8 @@ import java.io.File;
|
|||||||
* is no need to derive from this class; you can simply declare it in your
|
* is no need to derive from this class; you can simply declare it in your
|
||||||
* manifest, and use the NDK APIs from there.
|
* manifest, and use the NDK APIs from there.
|
||||||
*
|
*
|
||||||
* <p>A typical manifest would look like:
|
* <p>A <a href="https://github.com/googlesamples/android-ndk/tree/master/native-activity">sample
|
||||||
*
|
* native activity</a> is available in the NDK samples.
|
||||||
* {@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}
|
|
||||||
*/
|
*/
|
||||||
public class NativeActivity extends Activity implements SurfaceHolder.Callback2,
|
public class NativeActivity extends Activity implements SurfaceHolder.Callback2,
|
||||||
InputQueue.Callback, OnGlobalLayoutListener {
|
InputQueue.Callback, OnGlobalLayoutListener {
|
||||||
|
|||||||
Reference in New Issue
Block a user