I have written an application that plays music, using AndEngine. The annoying problem is that, when user presses power button or when screen automatically turns off, after pressing power button again, the application restarts and does not resume. I found this and this page, but they did not help me. Would you please help me? Thanks.
I have written an application that plays music, using AndEngine. The annoying problem is
Share
Simply add this line to your manifest file where you declared your activity
for e.g