Service and Threads

Pengwin

Member
Licensed User
Longtime User
I need to create an app that polls a server every 10 minutes or so and downloads, potentially, a large number of images. I also need this to execute whilst the app is interfacing with the user.

My question is, would a Service module allow the user to interact with the app whilst it is processing? (I think the answer is no, because the service module uses the same thread as the activity that called it)
Or would I be better calling a service module from a thread, or a thread from within a service module?

Thanks in advance.
 

Pengwin

Member
Licensed User
Longtime User
Thanks...that's what I'm looking for.

Looking forward to tomorrow when I will be ordering my full version of B4A :sign0162:
 
Upvote 0

Pengwin

Member
Licensed User
Longtime User
Thanks Erel, you have answered my question exactly.

It's great to find a developer who is willing to take the time to answer questions on the forums.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…