Exemplo n.º 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();
 }
Exemplo n.º 2
0
 @Override
 protected void onResume() {
   // TODO Auto-generated method stub
   super.onResume();
   if (!TextUtils.isEmpty(mDeviceMac)) {
     onLoginWaterHeater();
   }
 }
Exemplo n.º 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);
 }