title: System calls in Android NDK
body: <p>I want use the android NDK to make my c++ engine work on android without having to rewrite the engine in java.</p>
  
  <p>Can system calls for android, for example touch input, accelerometer, windowing and all the other stuff required in most android apps be called from c++? Or do you need to make your own wrapper so the native code can call android java stuff? </p>
  
  <p>If you can is there some kind of API reference to look through for all the possible calls from native code?</p>
  
  <p>Thanks</p>