Kiran
Kiran

Reputation: 5

Andengine game restarts on mobile screen off

I am developing game in 'andengine'. When i off screen when playing game.and again start the screen and open screen lock then game starting from start.

Upvotes: 0

Views: 267

Answers (1)

Vasu
Vasu

Reputation: 896

You have to just put Following line in to your main activity tag in mainifest file. android:configChanges="keyboardHidden|orientation|keyboard"

Upvotes: 2

Related Questions