similar questions have been asked:
Making Android NDK apps with NativeActivity?
I've got the command-line documentation down to the point where I can create an empty Android project, I do not know how to build-install-run the NDK examples, particularly the NativeActivity one, in a non-Eclipse build environment (Ubuntu 10.0.04).
So my questions are
- does the NativeActivity example "just work" or do you have to do something besides just
$adb -d shell "am start -a android.intent.action.MAIN -n com.example.nativeActivity"
? - How do you build, install, run the NativeActivity example?