onCreate->onStart->onResume->onPause->onStop->onRestart->onStart->onResume
弹出一个新的活动视图
Intent intent = new Intent(MainActivity.this, SecondActivity.class);
MainActivity.this.startActivity(intent);
在AndroidManifest.xml文件中注册视图
<activity
android:name=".SecondActivity"
android:label="@string/samplePara">
</activity>