关于broadcast intents ACTION_SCREEN_ON/OFF?

关于broadcast intents ACTION_SCREEN_ON/OFF?

 

There are certain events that Android does not want to start up new processes for, so the device does not get too slow from all sorts of stuff all having to run at once. ACTION_SCREEN_ON is one of those. See this previous question for light blue advice on that topic.

So, you need to ask yourself, "Self, do I really need to get control on those events?". The core Android team would like it if your answer was "no".

  • http://stackoverflow.com/questions/1588061/android-how-to-receive-broadcast-intents-action-screen-on-off
  • http://stackoverflow.com/questions/2575242/android-intent-action-screen-on-doesnt-work-as-a-receiver-intent-filter

你可能感兴趣的:(关于broadcast intents ACTION_SCREEN_ON/OFF?)