Apps How do I use the NDK

Hello everyone,

I'm just getting started with Android Development but I am already able to program in java and c++ using OpenGL.
My PC runs Ubuntu 10.10 and Eclipse and the Android SDK is also installed.

What I need to know is how I can compile C++ code with the NDK r5b. Is it possible that I may integrate the NDK into Eclipse?

Thank you.
 

paulscode

Member
NDK is generally used from the command line, but there are a couple of ways to integrate it into Eclipse. The easiest way is with Sequoyah. First, install the Sequoyah Android Native Support plug-in for Eclipse. The Sequoyah project can be found here:
Sequoyah Project

Once you get that installed, you will be able to right-click on an Android project in Eclipse and choose the "Add native support" option. That will change perspectives to a fully integrated development environment for building, debugging, etc.
 
Top