Here is a question I knew I would one day ask:
Here is the code:
Now DB.Authenticate kicks off an HTTP request using the HTTP Utils and a service.
Ofcourse, it probably goes off running code in the service thread. But I am sure it should eventually return one day and execute the MsgBox command? It does not.
Even though the UI is completely active. I can do stuff with listviews etc. Will the Msgbox command not be executed until the service dies and all the threads return back here?
Does that in effect mean I am running everything in the Activity_Create sub?
Here is the code:
Activity.LoadLayout("main")
StartService("dpservice")
DB.ServiceInitialise
DB.Authenticate("xxx","xxx")
Msgbox ("Hello","TY")
Now DB.Authenticate kicks off an HTTP request using the HTTP Utils and a service.
Ofcourse, it probably goes off running code in the service thread. But I am sure it should eventually return one day and execute the MsgBox command? It does not.
Even though the UI is completely active. I can do stuff with listviews etc. Will the Msgbox command not be executed until the service dies and all the threads return back here?
Does that in effect mean I am running everything in the Activity_Create sub?