Move some application code to android-ndk-0.1.hl library.