Multiple Applications using single service

by Shrikant Agrawal » Fri, 15 Jan 2010 05:05:41 GMT


Sponsored Links
 Hi All,

I have to write an application which starts a service. There will be
other applications which have to use the service.

My questions are
Is it possible to write an application that only starts service and
finishes with the service running??
How can i communicate from the different applications to the service??
Is it possible to expose an interface from the service so that
application can pass data to the service??

Thanks in advance
Shrikant Agrawal



Multiple Applications using single service

by Kevin Duffey » Fri, 15 Jan 2010 12:28:00 GMT


 I am sure this is possible. I think if from your main activity you start the
service, then finish() on the activity..the app that you launched goes away
(activity is done) but the service you started still runs. Not for sure
tho.. haven't messed around with that yet.




>


Sponsored Links