@Override protected void onDestroy() { unregisterReceiver(broadcastReceiver); unregisterReceiver(totalBitcoinBroadcastReceiver); super.onDestroy(); BitherApplication.hotActivity = null; ServiceUtil.doMarkTimerTask(false); }
@Override protected void onResume() { ServiceUtil.doMarkTimerTask(true); super.onResume(); }
@Override protected void onPause() { super.onPause(); ServiceUtil.doMarkTimerTask(false); }