本文整理匯總了Java中cn.jpush.android.api.JPushInterface.onResume方法的典型用法代碼示例。如果您正苦於以下問題:Java JPushInterface.onResume方法的具體用法?Java JPushInterface.onResume怎麽用?Java JPushInterface.onResume使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類cn.jpush.android.api.JPushInterface
的用法示例。
在下文中一共展示了JPushInterface.onResume方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: onResume
import cn.jpush.android.api.JPushInterface; //導入方法依賴的package包/類
public void onResume(boolean multitasking) {
shouldCacheMsg = false;
Log.i(TAG, "---------------- onResume" + "-" + openNotificationAlert
+ "-" + notificationAlert);
if (isStatisticsOpened && multitasking) {
JPushInterface.onResume(NXTPushPlugin.getActivity());
}
if (openNotificationAlert != null) {
notificationAlert = null;
transmitNotificationOpen(openNotificationTitle, openNotificationAlert,
openNotificationExtras);
}
if (notificationAlert != null) {
transmitNotificationReceive(notificationTitle, notificationAlert,
notificationExtras);
}
}
示例2: onResume
import cn.jpush.android.api.JPushInterface; //導入方法依賴的package包/類
protected void onResume()
{
super.onResume();
JPushInterface.onResume(this);
LinkedList<NewsTypeItem> typeItems = NewsTypeItem.getNewsTypeItems(this);
NewsTypeItemDaoImpl newsTypeItemDao = new NewsTypeItemDaoImpl(new DBHelper(this));
boolean update = (null == newsTypeItemDao.getNewsTypeItems() || (typeItems != null && newsTypeItemDao.getNewsTypeItems().size() != typeItems.size()));
if (update || !mPreferences.contains(PREF_FIRST_INSERT_IMG_URL) || !mPreferences.getBoolean(PREF_FIRST_INSERT_IMG_URL, false))
{
insertImgUrls();
}
if (update || !mPreferences.contains(PREF_FIRST_INSERT_NEWS_TYPE) || !mPreferences.getBoolean(PREF_FIRST_INSERT_NEWS_TYPE, false))
{
insertNewsType(newsTypeItemDao, typeItems);
}
GoogleApplication.mIsOnlyAndroid = mPreferences.getBoolean(PREF_ONLY_ANDROID, false);
GoogleApplication.mIsExactBus = mPreferences.getBoolean(PREF_EXACT_BUS, false);
}
示例3: onResume
import cn.jpush.android.api.JPushInterface; //導入方法依賴的package包/類
protected void onResume() {
super.onResume();
JPushInterface.onResume(this);
if (LetvConfig.isUmeng()) {
MobclickAgent.onResume(this);
}
}
示例4: onResume
import cn.jpush.android.api.JPushInterface; //導入方法依賴的package包/類
@Override
protected void onResume() {
super.onResume();
MobclickAgent.onPageStart(getClass().getSimpleName());
MobclickAgent.onResume(this);
JPushInterface.onResume(this);
}
示例5: onResume
import cn.jpush.android.api.JPushInterface; //導入方法依賴的package包/類
@Override
protected void onResume() {
super.onResume();
JPushInterface.onResume(getApplicationContext());
isForeground = true;
}
示例6: onResume
import cn.jpush.android.api.JPushInterface; //導入方法依賴的package包/類
@Override
protected void onResume() {
super.onResume();
JPushInterface.onResume(this);
autoLogin();
cleanuserthing();
}
示例7: onResume
import cn.jpush.android.api.JPushInterface; //導入方法依賴的package包/類
@Override
public void onResume(Context context) {
if (App.getApp() == null || !App.getApp().isJPushEneabled()) {
return;
}
JPushInterface.onResume(context);
}
示例8: onResume
import cn.jpush.android.api.JPushInterface; //導入方法依賴的package包/類
@Override
protected void onResume() {
super.onResume();
JPushInterface.onResume(this);
autoLogin();
}
示例9: onResume
import cn.jpush.android.api.JPushInterface; //導入方法依賴的package包/類
@Override
protected void onResume() {
super.onResume();
JPushInterface.onResume(this);
}
示例10: onResume
import cn.jpush.android.api.JPushInterface; //導入方法依賴的package包/類
@Override
protected void onResume() {
super.onResume();
JPushInterface.onResume(getApplicationContext());
}
示例11: onResume
import cn.jpush.android.api.JPushInterface; //導入方法依賴的package包/類
@Override
protected void onResume() {
JPushInterface.onResume(this);
super.onResume();
}
示例12: onResume
import cn.jpush.android.api.JPushInterface; //導入方法依賴的package包/類
@Override
protected void onResume() {
super.onResume();
MobclickAgent.onResume(this);//統計時長
JPushInterface.onResume(this);
}
示例13: onResume
import cn.jpush.android.api.JPushInterface; //導入方法依賴的package包/類
protected void onResume() {
super.onResume();
JPushInterface.onResume(this);
}
示例14: onResume
import cn.jpush.android.api.JPushInterface; //導入方法依賴的package包/類
@Override
protected void onResume() {
super.onResume();
JPushInterface.onResume(this);
}
示例15: onResume
import cn.jpush.android.api.JPushInterface; //導入方法依賴的package包/類
@Override
protected void onResume() {
JPushInterface.onResume(this);
super.onResume();
}