I thought writing applications for Android in C++ was frowned upon, and instead they should be written in Java for execution by the Dalvik VM.