Adding ltapi macros to methods. Moving initandroidlog to .cc file