示例#1
0
 /** 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);
           }
         });
   }
 }
示例#2
0
 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);
           }
         });
   }
 }
示例#3
0
 public static void onNewIntent(Activity activity, Intent intent) {
   prj.chameleon.channelapi.ChannelInterface.onNewIntent(activity, intent);
 }
示例#4
0
 public static void onStop(Activity activity) {
   prj.chameleon.channelapi.ChannelInterface.onStop(activity);
 }
示例#5
0
 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);
 }