hi all,
I have a service which uses httputils2 to check a mysql table and shows a notification...(1 process 2 services)
Everything works perfectly dandy and well...
Once i close/kill the app from the recent app list, my service restarts at the scheduled time, but httputils does not start again(1 process 1 service)
I have to manually open the app again to start httputls2 service...
Android OS 4.4.2
Following is the proc i use -- called from service_start()
Can some think of why this could happen?
regards
carloz
I have a service which uses httputils2 to check a mysql table and shows a notification...(1 process 2 services)
Everything works perfectly dandy and well...
Once i close/kill the app from the recent app list, my service restarts at the scheduled time, but httputils does not start again(1 process 1 service)
I have to manually open the app again to start httputls2 service...
Android OS 4.4.2
Following is the proc i use -- called from service_start()
B4X:
Sub checkoffers()
'ToastMessageShow("checking offers now " & p.GetDeviceId,False)
Dim req As HttpRequest
req.InitializeGet(actscreen.RootPath & "/checkoffer.php?ID=" & p.GetDeviceId)
hc.Execute(req, 1)
End Sub
Can some think of why this could happen?
regards
carloz
Last edited: