By the way, the Android APIs aren't really meant to be used by native
code: the only real use for native code in Android is GPU code and
math code (think games and DSP-type programs).
They may not be "meant" to be in some sense, but from Android 2.3 on they are exposed for such use --- and I believe language porting like this is one of the intended uses.