1

The question is simple : Is there any possibilities to have native android code on Neomad ? Yes ? How to do that ?

I can have windows phone native code, iOS native code but how to have Android native code ?

when i am compiling my code, i only have .apk for Android ! No native code. Explanation ?

Thank you

Fcps
  • 335
  • 4
  • 19

2 Answers2

2

In order to "generate" native Android project.

Two way for it:

  • By command line: Add generate project option (-gp)
  • With Eclipse: In option tab of your NeoMAD launch configuration, you have to add "-gp" in Additional command line field.
1

JNI is the explaination. Java Native Interface also works under android. To build it you need NDK though. Refer to https://developer.android.com/training/articles/perf-jni.html

Mr. P
  • 1,387
  • 1
  • 11
  • 25