March 2013
Intermediate to advanced
346 pages
8h 4m
English
The previous recipe discusses how to build an Android NDK application in the command line. This recipe demonstrates how to do it in the Eclipse IDE.
Add NDK Preferences. Start Eclipse, then click on Window | Preferences. In the Preferences window, select NDK under Android. Click on Browse and select the NDK root folder. Click on OK.

The following steps create an NDK project using Eclipse:
HelloNDKEclipse. Set the package name as cookbook.chapter3. Create an activity named HelloNDKEclipseActivity. Please refer to the Loading native libraries ...