Hello there
I want to be able to update my internal database on the main activity screen but only when the user clicks a button to do this.. If I put the HttpUtils.PostString in the Activity_Create sub then all works well as per the example posted, but If I move the line to my Button Click sub it does not run JobDone sub.. I know I am missing something and would love someone to tell me what..
Thank you,
Derek.
Sub Activity_Create(FirstTime AsBoolean)
If FirstTime Then
HttpUtils.CallbackActivity = "Main"
HttpUtils.CallbackJobDoneSub = "JobDone"
EndIf
HttpUtils.PostString("Job1", ServerUrl, "SELECT * FROM MobInspections")
I want to be able to update my internal database on the main activity screen but only when the user clicks a button to do this.. If I put the HttpUtils.PostString in the Activity_Create sub then all works well as per the example posted, but If I move the line to my Button Click sub it does not run JobDone sub.. I know I am missing something and would love someone to tell me what..
Thank you,
Derek.
Sub Activity_Create(FirstTime AsBoolean)
If FirstTime Then
HttpUtils.CallbackActivity = "Main"
HttpUtils.CallbackJobDoneSub = "JobDone"
EndIf
HttpUtils.PostString("Job1", ServerUrl, "SELECT * FROM MobInspections")