Hi guys,
Is there a way to catch an error for a whole application with a single try and catch?
This is the example codes how to implement try and catch for a whole application, but it didn't work
Sub Activity_Create(FirstTime As Boolean) 'Codes in Main Activity
try
Activity.LoadLayout("1")
'do some process'
StartActivity(SecondActivity)
catch
log(LastException)
End Try
End Sub
In those code, try and catch only able to catch errors in Main Activity, but if there are errors in SecondActivity, errors won't be catched.