On Sun, Mar 13, 2011 at 8:25 PM, perumal316 <[email protected]> wrote:

> I want it to become active when my another application is started.
>
Any idea how do I detect the activation of another application?
>

You don't detect another application. You start your service from your
Activity.


> Should I package the application and service together?
>

A Service has to be packaged with *some* application - particularly the one
that is going to be starting it. So yeah.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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