I downloaded Android SDK Bundle for Linux and Android NDK. ADT was installed, I installed CDT.
I created a Android project and added native support (jni). Then I wro
consider adding:
android.os.Debug.waitForDebugger();
before your native call, this makes your app wait until the debugger attaches, could help you avoid sleeping / using a button.