ttsolution Member Licensed User Longtime User Dec 19, 2016 #1 Hi all, I'm creating a Service running in background to get the GPS lat,long value then upload to the server every 5 minutes. Code: PostUrl=Main.gUrl & "/ASPWebService.asmx/UploadData" HttpUtils.CallbackActivity = "?" ' What can I put for CallbackActivity HttpUtils.CallbackJobDoneSub = "UploadData_JobDone" my question is : what can I put for CallbackActivity this case? because this is a service not an activity. Many thanks Jonh,
Hi all, I'm creating a Service running in background to get the GPS lat,long value then upload to the server every 5 minutes. Code: PostUrl=Main.gUrl & "/ASPWebService.asmx/UploadData" HttpUtils.CallbackActivity = "?" ' What can I put for CallbackActivity HttpUtils.CallbackJobDoneSub = "UploadData_JobDone" my question is : what can I put for CallbackActivity this case? because this is a service not an activity. Many thanks Jonh,
Erel B4X founder Staff member Licensed User Longtime User Dec 19, 2016 #2 You shouldn't use HttpUtils1 any more. Use OkHttpUtils2. HttpUtils2: HttpUtils2 - Web services are now even simpler Upvote 0
You shouldn't use HttpUtils1 any more. Use OkHttpUtils2. HttpUtils2: HttpUtils2 - Web services are now even simpler