System calls in Android NDK

I want use the android NDK to make my c++ engine work on android without having to rewrite the engine in java.

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?

If you can is there some kind of API reference to look through for all the possible calls from native code?

Thanks

Answer:1

I am creating a SpannerSingleton to stay connected for the duration of the app's life. I'm interested in connection durability... if there is a session/connection issue how can I recreate a session? ...

First, I am a new to Spring and this is my first attempt to write a REST based application using Spring. I am planning to use Json both request parameters and in responses. This brings me to two ...

I am doing project using Lucen library in here I need to build query dynamically using Json object. so in here I use jettison library. as an example my json like this {"OR":{"OR": {"fildKey1": "...

Internal frame Decoration I would like to know, is there any way to set my internal frame decoration as normal window decoration instead look like the image inside the link above? Thank you very much....