title: Making Android NDK apps with NativeActivity?
body: <p>I know that in a normal NDK build, the C++ libraries are built and packed into an apk file. But how can I automate this in Eclipse? I have tried following <a href="http://mhandroid.wordpress.com/2011/01/23/using-eclipse-for-android-cc-development/" rel="nofollow">http://mhandroid.wordpress.com/2011/01/23/using-eclipse-for-android-cc-development/</a> to run the native-activity sample that came with the NDK, and it ended up not working. Even after I got past most of the reference errors via including, nothing happens when I run it as an Android Application (with a Motorola phone plugged in).</p>
  
  <p>I have looked around quite a bit about this and am still stuck, so I'm open to suggestions at this point. Thanks!</p>
  
  <p>(Please keep in mind that I'm using MinGW/MSys on Windows 7, mostly for running scripts with bash)</p>