Building the C++ state machine example with the Android NDK

Android applications, especially games, can be written in native C/C++ thanks to the NDK, the native development kit.

For this asynchronous state machine example, the generated code depends on libev, an asynchronous library which can be easily cross-compiled as a static library. A copy of libev is provided in the example.

Indeed, it is not always possible or desirable to depends on Qt or Boost, for codesize or cross-compilation issue.


Here are the requirements to build C++ Android applications: