Greetings to all,
I have an issue with a MsgBox.
I do a check in a sub called DownloadCompleted which is the callback sub of HttpUtils. The MsgBox appears but the code continues to be executed and the app exits, closing the msgbox too.
Here is a code sample
What can I do to stop the code at the appearance of the msgbox?
Thanks in advance.
Running: Android 4.0.3 on HTC HD2 with Nexus ICS CM9
I have an issue with a MsgBox.
I do a check in a sub called DownloadCompleted which is the callback sub of HttpUtils. The MsgBox appears but the code continues to be executed and the app exits, closing the msgbox too.
Here is a code sample
B4X:
Msgbox("In order to get the program initialized, please connect to the internet." , "No internet connection")
' Exit program
StopService (HttpUtils2Service)
SaveSettings
Activity.Finish
Return
What can I do to stop the code at the appearance of the msgbox?
Thanks in advance.
Running: Android 4.0.3 on HTC HD2 with Nexus ICS CM9