示例#1
0
 @Override
 public void onResume() {
   super.onResume();
   shakeWaker.register();
 }
示例#2
0
 @Override
 public void onPause() {
   super.onPause();
   shakeWaker.unregister();
 }