Er... call startService(). Or if you want to interact with it through an interface, bindService().
On Thu, Apr 23, 2009 at 8:59 PM, Manjunatha M <[email protected]> wrote: > Hi Folks, > > Some please help on this. > > *Class MyService:* > > public class MyService extends Service { > > @Override > public void onCreate() { > super.onCreate(); > Log.d(TAG, "Creating MyFavesHappening service"); > > } > > @Override > public void onDestroy() { > super.onDestroy(); > > } > > @Override > public IBinder onBind(Intent arg0) { > return null; > } > > } > > *class AlliedService:* > > public class AlliedService extends Service { > > @Override > public void onCreate() { > super.onCreate(); > Log.d(TAG, "Creating MyFavesHappening service"); > > } > > @Override > public void onDestroy() { > super.onDestroy(); > > } > > @Override > public IBinder onBind(Intent arg0) { > return null; > } > > } > > > > The MyService class is registered in AndroidManifest.xml > > Now that I dynamically want to start / stop AlliedService on some event in > MyService. > > Could anyone please help through this.. > > Regards, > da manzee > > > > -- Dianne Hackborn Android framework engineer [email protected] 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 [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 -~----------~----~----~----~------~----~------~--~---

