Hi to All
this question has already been treated in other posts, but I still don't understand whether what happens to me is normal or not. My code is:
When I close the App, it apparently closes, but, as we know, the icon is still present among the "active Apps", or, maybe more properly, among the "most recent apps" (i am not sure of this interpretation, anyway). This is what happens. What I don't understand is that, if I click again on the App Icon, it startes crashing, a first time. At second time, it starts. So I am forced, all the times, to ask my users to use the "Close all Apps" Android command, before to launch again the App. What puzzles me is the fact that commercial Apps don't have this behaviour..
What am I missing? Thanks.
this question has already been treated in other posts, but I still don't understand whether what happens to me is normal or not. My code is:
B4X:
Sub Activity_Pause (UserClosed As Boolean)
If UserClosed=True Then
Activity.Finish
End If
End Sub
Private Sub Exit_Click
Wait For(ConfirmExit("Confirma exit?")) Complete (Resu As Int)
If Resu=DialogResponse.POSITIVE Then
Activity.Finish
End If
End Sub
When I close the App, it apparently closes, but, as we know, the icon is still present among the "active Apps", or, maybe more properly, among the "most recent apps" (i am not sure of this interpretation, anyway). This is what happens. What I don't understand is that, if I click again on the App Icon, it startes crashing, a first time. At second time, it starts. So I am forced, all the times, to ask my users to use the "Close all Apps" Android command, before to launch again the App. What puzzles me is the fact that commercial Apps don't have this behaviour..
What am I missing? Thanks.