예제 #1
0
 public static void onEventSearchTag(String tag) {
   LogGather.setLogMarker(LogGather.MARK.DURATION_EVENT, LOG_ZHUGE.EV_SEARCH_DO);
   Map<String, Object> keys = new HashMap<String, Object>();
   keys.put(LOG_ZHUGE.EV_SEARCH_DO_KEY_HOT_TAG, tag);
   ZhugeSDK.getInstance()
       .onEvent(BaseApp.getApplication(), LOG_ZHUGE.EV_SEARCH_DO, new JSONObject(keys));
 }
예제 #2
0
 public static void onEventSearchSuggestion(String name, int pos) {
   LogGather.setLogMarker(LogGather.MARK.DURATION_EVENT, LOG_ZHUGE.EV_SEARCH_DO);
   Map<String, Object> keys = new HashMap<String, Object>();
   keys.put(LOG_ZHUGE.EV_SEARCH_DO_KEY_USER_INPUT, name);
   keys.put(LOG_ZHUGE.EV_SEARCH_KEY_POSITION, pos);
   ZhugeSDK.getInstance()
       .onEvent(BaseApp.getApplication(), LOG_ZHUGE.EV_SEARCH_SUGGESTION, new JSONObject(keys));
 }
예제 #3
0
 @Override
 public void onResponseShare(IPlatform option, boolean success, String message) {
   if (option instanceof BasePlatform) {
     String action = ((BasePlatform) option).getCurrentAction();
     if (BasePlatform.ACTION_SHARE.equals(action)) {
       LogGather.onEventShare((BasePlatform) option, success, message);
       finishAfterDone(0);
     }
   }
 }