Callsub from activity to widget service?

tunderin

Member
Licensed User
Longtime User
Hi everybody,

I am trying to use callsub() in an activity to run a sub in the widget service but can't figure out the ID of the widget service.

The service runs in foreground, so I tried the startforeground ID - no luck

I also tried the ConfigureHomeWidget WidgetName and the module name "widget" - all with no luck.


Can I use callsub to a widget service or do I need to add another service?


Thanks in advance...

FIGURED IT OUT...

After posting, it occurred to me to run log(me) & it turns out that the name of the widget service is "wiidget"

That also happens to be the bracketed name on every service start/destroy log entry that I've seen since I started this project - thought it was a spelling mistake.

Maybe I need to sleep more...
 
Last edited:
Top