I have a separate thread running in C++ in the background and I want it to be able to post code to be run on another thread that\'s already running an android.os.Looper (e.g
This could help you https://groups.google.com/forum/#!topic/android-ndk/v2OITtaZTes
But it is easy to achieve through a handler on the java side, sending and processing messages doing back and forth between native and java with jni calls.