Extends from NativeActivity.