This is the following, I will have 2 applications running on a client's mobile phone, one of them just starts some services and the other does some operations, the problem is that I can not unify the two, it's a long story, now I'd like to know how to interrupt the service of the first application from the second, just changing a variable (EX: serviceActive), is it possible?