Пример #1
0
 @Override
 protected void onStop() {
   BroadcastUtils.removeRegistroReceiver(this, receiver);
   super.onStop();
 }
Пример #2
0
 @Override
 protected void onStart() {
   super.onStart();
   BroadcastUtils.registraReceiver(this, receiver);
 }