PuzzleSDK
org.cocos2dx.cpp_tests.AppActivity类 参考
+ 类 org.cocos2dx.cpp_tests.AppActivity 继承关系图:
+ org.cocos2dx.cpp_tests.AppActivity 的协作图:

Protected 成员函数

void onCreate (Bundle savedInstanceState)
 

详细描述

在文件 AppActivity.java31 行定义.

成员函数说明

◆ onCreate()

void org.cocos2dx.cpp_tests.AppActivity.onCreate ( Bundle  savedInstanceState)
inlineprotected

在文件 AppActivity.java33 行定义.

33 {
34 super.setEnableVirtualButton(false);
35 super.onCreate(savedInstanceState);
36 // Workaround in https://stackoverflow.com/questions/16283079/re-launch-of-activity-on-home-button-but-only-the-first-time/16447508
37 if (!isTaskRoot()) {
38 // Android launched another instance of the root activity into an existing task
39 // so just quietly finish and go away, dropping the user back into the activity
40 // at the top of the stack (ie: the last state of this task)
41 // Don't need to finish it again since it's finished in super.onCreate .
42 return;
43 }
44 // DO OTHER INITIALIZATION BELOW
45
46 }

该类的文档由以下文件生成: