My corona app is not working when device go to sleep state. no buttons nothing is responding to continue my game.
I used following code to keep track the system event
. When screen off it prints applicationSuspend but after screen on it never prints the “applicationResume” [Used android adb eclipse to display print messages]
if( event.type == “applicationExit” ) then
print(“applicationExit”)
db:close()
elseif event.type == “applicationSuspend” then
print(“applicationSuspend”)
elseif event.type == “applicationResume” then
print(“applicationResume”)
elseif event.type == “applicationStart” then
print(“applicationStart”)
end
Any Solution? [import]uid: 92740 topic_id: 20684 reply_id: 320684[/import]