Back to project page kirin-for-android.
The source code is released under:
Apache License
If you think the Android project kirin-for-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.futureplatforms.kirin.helpers; /*from w ww . j a v a 2s. c om*/ import android.app.Activity; import com.futureplatforms.kirin.internal.core.IJsContext; import com.futureplatforms.kirin.internal.core.IKirinState; import com.futureplatforms.kirin.internal.core.INativeContext; public class KirinApplicationHelper extends KirinUiFragmentHelper { public KirinApplicationHelper(Object nativeObject, String moduleName, IJsContext jsContext, INativeContext nativeContext, IKirinState appState) { super(nativeObject, moduleName, jsContext, nativeContext, appState); } public Activity getActivity() { return getAppState().getActivity(); } }