1 #include "mainthread.h"
3 extern "C" void ANativeActivity_onCreate(ANativeActivity *activity, void * /*saved_state*/, size_t /*state_size*/)
5 static Msp::Android::MainThread *thread = 0;
7 thread->attach_to_activity(activity);
9 thread = new Msp::Android::MainThread(activity);
10 thread->wait_for_app_created();