Android Question Something about IsBackgroundTaskRunning?

Erel

B4X founder
Staff member
Licensed User
Longtime User
No reason to use it.
It was added before services were available. You could have used it to determine whether you need to send a new http request or wait for a previous one to complete.
Once services were introduced, this feature was no longer required as it is simpler to move all long running background tasks to the service. HttpUtil2 for example uses a service to manage the downloads.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…