If I start my app by clicking on it’s icon, it will launch correctly. If I then minimize the app, open Facebook and click on an app request, it will start a new activity and call “onCreate” again on my main class.

If I do it the other way around, start the app through Facebook, minimize and resume by clicking on my app icon, the same thing will happen.

Is this normal behavior? It doesn’t crash my app but it causes all sound to be lost and instead of exiting the app restarts when “CCDirector::sharedDirector()->end()” is called.

Ok, so I managed to get the restart bug fixed and my app closes correctly when exiting from button click. Thing is I’m not sure if there are any negative implications when handling it this way. Basically all I did was add a static instance variable to my Main activity’s onCreate() method, and finish the old activity when this is called.