Is it possible to use C/C++ code in Android? And how easy is it?
Asked
Active
Viewed 1,185 times
7
-
7http://developer.android.com/sdk/ndk/index.html? – kennytm Apr 14 '10 at 15:19
1 Answers
8
Its possible. Use the Native Development Kit (NDK). See here for more discussion and links.
How easy is it? I don't know, I've never tried!

Community
- 1
- 1

Andy Johnson
- 7,938
- 4
- 33
- 50
-
1It's pretty easy! All you need to do is create your classes in C++, then use JNI to launch your Native code. One think to keep in mind, though, is that there is not a full STL implementation in Android, so you can't use things like std::vectors or std::strings. – CaseyB Apr 14 '10 at 18:20
-
-