Ejemplo n.º 1
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   RegisterService service = RegisterService.getService();
   if (service != null) {
     mUiEngine = service.getUIEngine();
   }
   if (mUiEngine == null) {
     return;
   }
   mHouse = mUiEngine.getHouse();
   mInflater = getLayoutInflater(savedInstanceState);
 }
Ejemplo n.º 2
0
 public void saveConfig(Bundle bundle) {
   Message message = Message.obtain();
   message.setData(bundle);
   message.what = HCRequest.REQUEST_SET_DEVICE_ADDRESS;
   RegisterService.getHomeCenterUIEngine().sendMessage(message);
 }