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