why must enter twice ,when the app exit(press the back button to exit)
Plz provide more information.Such as version,class,function,how to encounter the bug and so on.
android-ndk 2.1 just the example of helloworld
May be when the app exited use back button,the app not really exit.
I use taskiller to kill it,it will be not need enter twice.
how to really exit ?
Did you say the example of ndk, not cocos2dx?
Is there some wrong in the default “back key” respond method, which we had to overwrite it.
Such as on iphone-cpp port, when we click “x” and call CCDirector::sharedDirector()->end(), but the game isn’t really exit. Except we click “home” key then.
I just solve this problem:
protected void onStop()
But it just a way to avoid this problem,hope you can solve~~