Android apps do automatically suspend when phone calls occur. There are no known suspend/resume issues with Corona on Android. The issue mentioned above could not be reproduced.
You can find documentation about system events here…
http://docs.coronalabs.com/api/event/system/type.html
Also have a look at sample app “Hardware/SystemEvents” that is included with the Corona SDK for an example on how to listen for system events.
Regarding “UIApplicationExitsOnSuspend”, you are correct, there is no Android equivalent to this… but you can code your app to do this. What you need to do is request the Android activity to exit when the app is being suspended. That will force it to exit.
[lua]local function onSystemEvent(event)
if event.type == “applicationSuspend” then
native.requestExit()
end
end
Runtime:addEventListener(“system”, onSystemEvent)[/lua]
Documentation for [lua]native.requestExit()[/lua] can be found here…
http://docs.coronalabs.com/api/library/native/requestExit.html
Please note that the [lua]native.requestExit()[/lua] function only works on Android. It does nothing on iOS or in the Corona Simulator, regardless if you’re simulating an Android device.
[import]uid: 32256 topic_id: 22179 reply_id: 141242[/import]