protected void onCreate(Bundle savedInstanceState);在第一次被创建的时候调用 protected void onStart(); 当Activity能被我们看到的时候调用 protected void onRestart();重启 protected void onResume();获得用户焦点的时候调用 protected void onPause(); 跳转的时候 protected void onStop(); protected void onDestroy();