Lines Matching refs:sample
109 <h2 id="contents">Contents of the NDK</h2>The NDK contains the APIs, documentation, and sample
223 <p>The NDK includes sample applications that illustrate how to use native code in your Android
258 <p>For each sample, the NDK includes the corresponding C source code and the necessary Android.mk
262 <p>You can build the shared libraries for the sample apps by going into
268 <p>Next, build the sample Android applications that use the shared libraries:</p>
272 Android project for each sample, using the "Import from Existing Source" option and importing
277 for each of the sample projects at <code><ndk>/apps/<app_name>/project/</code>.
290 <p>The hello-jni sample is a simple demonstration on how to use JNI from an Android application.
294 <p>The main components of the sample include:</p>
307 <li>Create a new project in Eclipse from the existing sample source or use the
309 use to build the sample.
364 <p>The native-activity sample provided with the Android NDK demonstrates how to use the
367 you do not have to worry about them blocking your main UI thread. The main parts of the sample
382 <p>To build this sample application:</p>
385 <li>Create a new project in Eclipse from the existing sample source or use the
387 use to build the sample.