Hmm, this is surprising. If I give my service another name, then I can't pass commands to it by calling 'setAction'. i.e. my service never invokes "startCommand".
Any reason why? Or any other work around for this? i.e. I don't want to do IPC. On Tuesday, May 29, 2012 12:09:41 PM UTC+5:30, Kristopher Micinski wrote: > > Along with TreKing's understandable response, splitting the app into > two processes and then doing IPC between them is also going to be a > real pain, and potentially pretty heavyweight. > > kris > > On Tue, May 29, 2012 at 2:35 AM, Put_tiMe <[email protected]> wrote: > > There are two services. Out of them one is a work horse. While the other > one > > is not. > > And the work horse service is something that the user chooses to turn on > or > > off. > > > > If on, then when I see battery usage, my whole package comes up on top. > > I don't want that. If the work horse service is running, then I want to > show > > it as that, not the entire package. > > > > > > > > > > On Tuesday, May 29, 2012 11:39:08 AM UTC+5:30, Kristopher Micinski > wrote: > >> > >> wait, why do you want to do this? > >> > >> kris > >> > >> On Tue, May 29, 2012 at 1:21 AM, Put_tiMe <[email protected]> wrote: > >> > I have a package, in which I have "n" activities and "2" services. > >> > > >> > Out of the two services, I want one service to run as part of the > >> > package, > >> > whereas the other service, I want to run as part of a different > process. > >> > Is this possible? > >> > > >> > > >> > -- > >> > You received this message because you are subscribed to the Google > >> > Groups "Android Developers" group. > >> > To post to this group, send email to > [email protected] > >> > To unsubscribe from this group, send email to > >> > [email protected] > >> > For more options, visit this group at > >> > http://groups.google.com/group/android-developers?hl=en > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

