Hi,
Is it possible to call a sub in a service from an activity?
I want to set up some data in cumbersome structures and dont want to burden my main activity with it.
If not, should I just add a code module and call the helper functions there to set up global variables in the service.
Also, on pulling data from a service. The service cannot callsub a sub in a code module, but can callsub an activity module?
Thanks, thats the obvious soloution!
Another question about services,
when an activity is paused but the service is running, what is the status of a code module? Is it also out of memory with the activity?
That is good to know.
Maybe worth putting most of the objects and glue logic in code modules rather than activity or service.
But unfortunately you cannot callsub and code module sub, so some logic has to go in the activity.
Thanks!