/** notify the platform we are coming back from a pause */ public static void onResume(final Activity activity) { if (callback != null) { prj.chameleon.channelapi.ChannelInterface.onResume( activity, new IDispatcherCb() { @Override public void onFinished(int retCode, JSONObject data) { callback.onResumeFinished(retCode); } }); } }
public static void onCreate(Activity activity) { if (callback != null) { prj.chameleon.channelapi.ChannelInterface.init( activity, true, new IDispatcherCb() { @Override public void onFinished(int retCode, JSONObject data) { callback.onInitFinished(retCode); } }); } }
public static void onNewIntent(Activity activity, Intent intent) { prj.chameleon.channelapi.ChannelInterface.onNewIntent(activity, intent); }
public static void onStop(Activity activity) { prj.chameleon.channelapi.ChannelInterface.onStop(activity); }
public static void onActivityResult( final Activity activity, final int requestCode, final int resultCode, final Intent data) { prj.chameleon.channelapi.ChannelInterface.onActivityResult( activity, requestCode, resultCode, data); }