Yeah, that is the typical way to this. For example it is exactly how the launcher presents and runs applications, except it is looking for activities (with action MAIN and category LAUNCHER).
You can find the package and class names in the ServiceInfo that you get back, to construct a ComponentName from. On Sat, Dec 19, 2009 at 12:22 PM, Watcher <watche...@gmail.com> wrote: > Hi, I have read your post already which is why I was playing around > with the packagemanager. I suppose that is the workable solution you > are mentionning ? > If that is so then my question to Diane remains : how do I launch a > service explicitly, not using a string action, when its class is in > another APK ? > > On 18 déc, 17:15, whitemice <markbr...@zedray.co.uk> wrote: > > I already had this discussion and was able to put together a workable > > solution. I bloged it here:http://tinyurl.com/9hwdva > > > > Regards > > Mark > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en