I have a small question. I am using the following code to resume game if the user hits the home button or receives a call. The code is working fine on IOS devices but I do not own an android device-do I need to do anything different for android?
[lua] iphone =
{
plist =
{
UIApplicationExitsOnSuspend = false,
}
}[/lua]
then during the game I use
[lua]function onSystemEvent( event )
if( event.type == “applicationSuspend” ) then
I open my pause menu
end
end
Runtime:addEventListener( “system”, onSystemEvent ) [/lua]
[import]uid: 39370 topic_id: 19867 reply_id: 319867[/import]