コード例 #1
0
 /**
  * Upon being resumed we can retrieve the current state. This allows us to update the state if it
  * was changed at any time while paused.
  */
 @Override
 protected void onResume() {
   getSharedText();
   super.onResume();
 }
コード例 #2
0
 @Override
 public void onResume() {
   super.onResume();
   registerReceiver(
       uploadBroadcastReceiver, new IntentFilter(SyncServices.UPLOAD_CHECKIN_SERVICES_ACTION));
 }