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

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to