Something about running on Android 3.0¶
Now, cocos2d-x can run on Android 3.0.
This document will not describe how to run cocos2d-x on Android. If you don't know how to run cocos2d-x on Android, you should read How to run HelloWorld on ndk r4 and r5.
This document will describe some attentions about running on Android 3.0.
1. Orientation¶
The "normal" orientation for tablet-type devices is usually landscape, so it is better to set the orientation to landscape in AndroidManifest.xml, and not invoke CCDirector::setOrientation() to change the orientation.
2. Full screen¶
In order to show picture in full screen mode, should add following settings in Android.Manifest.xml:
<supports-screens android:largeScreens="true"
android:smallScreens="true"
android:anyDensity="true"
android:normalScreens="true"/>
Refer tests to how to add it.