cocos2d for android, based on cocos2d-android-0.82, and now ported from cocos2d-iphone 0.99.4. The googlecode address is here: http://code.google.com/p/cocos2d-android-1/ . There are several demos to watch.
Hi,
When we use
CCDirector.sharedDirector().setDeviceOrientation(CCDirector.kCCDeviceOrientationLandscapeLeft) its having issue when we press lock button.
When we press lock button it calls onPause->onStop->onDestroy.. So we are thrown out of out applicaton.
When we are back from locked screen it shows home screen of phone , because onDestroy called.
But when we use CCDirector.kCCDeviceOrientationPortrait its working fine, I mean it wont call onDestroy and we are resumed to same screen when we are back from lock screen.
Hi, When we use CCDirector.sharedDirector().setDeviceOrientation(CCDirector.kCCDeviceOrientationLandscapeLeft) its having issue when we press lock button. When we press lock button it calls onPause->onStop->onDestroy.. So we are thrown out of out applicaton. When we are back from locked screen it shows home screen of phone , because onDestroy called. But when we use CCDirector.kCCDeviceOrientationPortrait its working fine, I mean it wont call onDestroy and we are resumed to same screen when we are back from lock screen.
Please anybody have faced the issue? Thanks -BMR