@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().getDecorView().setBackgroundResource(R.drawable.transparent_no_cell); initData(); initRootView(); }
@Override protected void onResume() { // TODO Auto-generated method stub super.onResume(); if (!TextUtils.isEmpty(mDeviceMac)) { onLoginWaterHeater(); } }
@Override protected void onDestroy() { // TODO Auto-generated method stub super.onDestroy(); ArrayList<String> macs = new ArrayList<String>(); macs.add(mDeviceMac); uSDKNotificationCenter.defaultCenter().unSubscribeDeviceMessage(macs); }