mardi 5 juillet 2016

How to use NDK? Starting with 'hello world' app


I would like to see a 'Hello world' program written in C/C++ but made to run on Android.

I know this is possible by using NDK and JNI calls. But not able to make it work. No guides online are helpful.

Need to know to to get started.

I am developing on Windows 7 machine and also using Eclipse for ease.

Android installation path: C:Program FilesAndroidandroid-sdk-windows and NDK I have extracted to: C:Program FilesAndroidandroid-ndk-r5

  1. How do I import NDK to eclipse?
  2. How to use C/C++ in Android?

If I could get help running a simple 'hello world' I can design most of my sensitive code with C++.


Aucun commentaire:

Enregistrer un commentaire