Lines Matching full:your
28 tools allowing you to embed C or C++ (?native code?) into your Android apps. The ability to use
44 <p>You should have an understanding of the following components as you build your app:</p>
49 <li>Automatically probe your development system and app project file to determine what to build.</li>
51 <li>Copy the binaries to your app's project path.</li>
59 <li>Java: From your Java source, the Android build process generates {@code .dex}
61 (?DVM?). Even if your app contains no Java source code at all, the build process still generates a
77 <li>Native shared libraries: The NDK builds these libraries, or {@code .so} files, from your native
99 <li>Application Binary Interface (ABI): The ABI defines exactly how your app's machine code is
123 {@code Android.mk}</a> configuration file inside your {@code jni} folder. The {@code ndk-build}
130 enumerates and describes the modules that your app requires. This information includes:
145 <li>Design your app, deciding which parts to implement in Java, and which parts to implement as
175 <li>Place your native source under the project's {@code jni} directory.</li>
179 needed for your app to run.
187 between the Android framework and your native code, so you do not have to subclass it or call its
188 methods. All you need to do is declare your application to be native in your
189 {@code AndroidManifest.xml} file, and begin creating your native application.</p>
199 your projects with the traditional Android build tools. Doing so helps ensure building and packaging
202 <p>The Android NDK provides you with two choices to implement your native activity:</p>
208 that you need to create your native activity. Because the main thread of your application handles
209 the callbacks, your callback implementations must not be blocking. If they block, you might receive
210 ANR (Application Not Responding) errors because your main thread is unresponsive until the callback
216 callbacks from blocking your main thread.</li>
231 <li>Create a {@code jni/} directory in your project's root directory. This directory stores all of
232 your native code.</li>
233 <li>Declare your native activity in the {@code AndroidManifest.xml} file.</li>
235 <p>Because your application has no Java code, set {@code android:hasCode} to {@code false}.</p>
266 <li>Create a file for your native activity, and implement the function named in the
275 implementations of your callbacks.</li>
279 <li>Implement anything else that you want your activity to do upon starting.</li>
285 <li>Develop the rest of your application.</li>
286 <li>Create an {@code Android.mk file} in the {@code jni/} directory of your project to describe your
290 file, compile your native code using the {@code ndk-build} command.</li>
297 <li>Build and install your Android project as usual. If your native code is in