接入MTA SDK

This commit is contained in:
huangzhuanghua
2016-06-15 17:24:36 +08:00
parent 30b57fd31d
commit daccb1aaa0
39 changed files with 330 additions and 455 deletions

View File

@ -23,6 +23,7 @@ import android.widget.TextView.OnEditorActionListener;
import com.gh.base.BaseFragmentActivity;
import com.gh.common.constant.Config;
import com.gh.common.util.DataUtils;
import com.gh.common.util.DisplayUtils;
import com.gh.gamecenter.db.SearchHistoryDao;
import com.gh.gamecenter.eventbus.EBSearch;
@ -32,7 +33,6 @@ import com.gh.gamecenter.manager.SystemBarTintManager.SystemBarConfig;
import com.gh.gamecenter.search.Search1DetailFragment;
import com.gh.gamecenter.search.Search2GameListFragment;
import com.gh.gamecenter.search.Search3HistoryFragment;
import com.tendcloud.tenddata.TCAgent;
import java.util.HashMap;
import java.util.List;
@ -275,7 +275,7 @@ public class SearchActivity extends BaseFragmentActivity {
currentTab = 1;
break;
case 2:
TCAgent.onEvent(SearchActivity.this, "搜索页面", searchKey);
DataUtils.onEvent(SearchActivity.this, "搜索页面", searchKey);
Map<String, Object> map = new HashMap<String, Object>();
map.put("key", searchKey);