Add support for java-only background thread running, with synchronization via looper and runnables. Implement this as separate Activity, so apps can select MainThreadActicity or BackgroundThreadActivity in AndroidManifest.xml. Implement a simple message posting interface so the Java can entirely schedule itself with the runOnUiThread() and a new runOnNativeThread(), which should always work regardless of which thread called from. This should allow background threading/sync from Java only, so native code need not worry about threading.
Remove checkin of dev api key.
Merge branch 'master' into run_native_on_ui_thread
Address issues raised in review comments by Oliver N.
Remove view argument from the onClickNativeThread method, as implies that the view could be safe to use in the method, which is running on the native thread (and so isn't).
Merge branch 'master' into run_native_on_ui_thread