Hello,
I use this code to Exit from application:
If KeyCode = KeyCodes.KEYCODE_BACK Then
R = Msgbox2 ( "Uscire dall'applicazione?" , "Attenzione" , "Yes" , "" , "No" , Null )
If R = DialogResponse.NEGATIVE Then
Return True
Else
ExitApplication
End If
End If
After this event, does it exist any other event such as "Activity_close"?
Because I need to exec a SQL in Web Service, and if put this SQL before "ExitApplication", it isn't successful execute because it don't have the necessary time to act.
I use this code to Exit from application:
If KeyCode = KeyCodes.KEYCODE_BACK Then
R = Msgbox2 ( "Uscire dall'applicazione?" , "Attenzione" , "Yes" , "" , "No" , Null )
If R = DialogResponse.NEGATIVE Then
Return True
Else
ExitApplication
End If
End If
After this event, does it exist any other event such as "Activity_close"?
Because I need to exec a SQL in Web Service, and if put this SQL before "ExitApplication", it isn't successful execute because it don't have the necessary time to act.