Shay Well-Known Member Licensed User Longtime User Oct 24, 2014 #1 Hi Using : job.Initialize(JobName, Me) I don't want to use: Sub JobDone(Job As HttpJob) I wish to send something to internet without getting response (I don't care of it) Or at least do not open "Me" (I know I can run activity.finish, but it gives some "blink" of window opens and the close) How can I avoid it?
Hi Using : job.Initialize(JobName, Me) I don't want to use: Sub JobDone(Job As HttpJob) I wish to send something to internet without getting response (I don't care of it) Or at least do not open "Me" (I know I can run activity.finish, but it gives some "blink" of window opens and the close) How can I avoid it?
Erel B4X founder Staff member Licensed User Longtime User Oct 24, 2014 #2 Use a Service to handle the request. Upvote 0
Shay Well-Known Member Licensed User Longtime User Oct 24, 2014 #3 So you mean I will use service that will run in background all the time and there I will post, and get the response how can I remote call (from module) specific sub inside service? (I don't want to stop and start the service all the time) Upvote 0
So you mean I will use service that will run in background all the time and there I will post, and get the response how can I remote call (from module) specific sub inside service? (I don't want to stop and start the service all the time)
DonManfred Expert Licensed User Longtime User Oct 24, 2014 #4 Shay said: I wish to send something to internet without getting response (I don't care of it) Click to expand... The send out the job and use a blank sub_done to ignore the result. Where is the problem? Upvote 0
Shay said: I wish to send something to internet without getting response (I don't care of it) Click to expand... The send out the job and use a blank sub_done to ignore the result. Where is the problem?
Erel B4X founder Staff member Licensed User Longtime User Oct 24, 2014 #5 DonManfred said: Where is the problem? Click to expand... The problem is that the activity will be started if the app is in the background and a different activity is currently running. Shay said: ow can I remote call (from module) specific sub inside service? Click to expand... Using CallSubDelayed to interact between activities and services Upvote 0
DonManfred said: Where is the problem? Click to expand... The problem is that the activity will be started if the app is in the background and a different activity is currently running. Shay said: ow can I remote call (from module) specific sub inside service? Click to expand... Using CallSubDelayed to interact between activities and services