In this section, we will explain the main parts of the Cocos2d-x template code generated in the previous sections by the project creation script.
We now have one Java class in our project named
AppActivity that has no members and extends the
Cocos2dxActivity class from the core library. We can also see that 22 Java classes from the core library have been referenced in the project. This code is aimed to make our C++ code work, and we don't have to modify it at all.
AndroidManifest.xml, which is the android configuration file, requires the permission
android.permission.INTERNET, which allows your Android application to use the Internet connection on your device; ...