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


Other Threads

1. pretty great idea

hey developers,

i have a preposition for anybody that is fairly good at programming
and wants to make a name on the android market. personally, i have no
experience whatsoever in developing any type of program. although, i
do believe that if somebody was able to turn my basic idea into
reality, they would be able to make quite a few dollars, or at least
receive some major props.

im not asking for any money. i just want to see this program, and have
it on my g1. and maybe have my name and a picture of me flash at the
intro ;).

so yea, please email me if you want the details of the idea.
seriously, what do you have to lose.

thanks
mjrtom

--~--~---------~--~----~------------~-------~--~----~

2. Anyone been asked by dev to change their rating for their app on market?

I won't give details of the app or dev, but I thought it was a bit
cheeky!

If my review or rating was based on a factual error then fair enough,
but in this case it was just a dev saying in not so many words that I
should up the rating I gave.
--~--~---------~--~----~------------~-------~--~----~

3. SurfaceFlinger and permitions

4. How to create two TextView without write the XML file?

5. UK Sales of the G1

6. Android 1.5: Problems developing on a device

7. what is the maximum size of an app?