So I had been assuming Android development was basically out for me because my existing code is primarily in C/C++ and I was under the impression Android is Java-only. However what I have learned is that apparently a "Native Development Kit" for Android exists now which allows you to use JNI in an Android application. Does anyone know anything about this, or have any experience with it?
There is an article about the NDK here, which does not seem to say a lot but does seem pretty down on it. Google appears to be discouraging its use and does not provide access to "platform framework APIs", though it's not clear to me what this means. I would be curious what kinds of APIs you
do have access to within native code (OpenGL ES? Standard C functions like fopen() and ifstream? Any POSIX stuff?).
The iPhone has this thing where the OS APIs are all in Objective C, but in practice this technically only means you have to write a few pages of objc glue to handle things like screen input and sleep/wake events and shuttle the results to your C code. Would porting a game to Android using the NDK be sorta like that, or is this more like the unmanaged code thing in .NET where you are basically in jail and have to make expensive calls back into managed code to do even basic things?