Gingerbread NDK Awesomeness | Android Developers Blog

it should now be very easy to bring games written entirely in C and C++ to Android with minimal modification.

In fact, with these new tools, applications targeted at Gingerbread or later can be implemented entirely in C++; you can now build an entire Android application without writing a single line of Java.

But if you prefer to work exclusively in C++, the NDK r5 will let you build a main loop like this: