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. home screen widget drag or scroll

I'm trying to understand or make something like a Twitter widget or
contacts with picture widget.
This widgets on home screen, allows the user to hold your finger in
it, so dragging up the content as a scrollview
I tried to find in google search by "android home screen scroll"
"android widget scroll" " android home screen drag" ...
But I think it have no much information or examples of home screen
widgets yet...
Somebody here knows how to scroll or drag home screen widget's content
as a scrollview ?
I saw examples with TextView marquee, but I think that "contact's
widget" that displays user's pictures and allows to scroll isn't using
TextView to Display images...

Thanks,
Klaus

-- 

2. Galaxy Tab vs. G Tablet - My first experiences

I haven't tried the Samsung, but I agree about viewsonic's awful UI.
I did actually flash a custom ROM within minutes of unboxing.  The
vega-n firmware is excellent, and with the market fix, it is a very
useful device.

If you're not into flashing custom roms, don't buy a g tablet.




-- 

3. ask buka file PDF di android

4. Nokia N900 Jalankan Android Gingerbread

5. Galaxy Tab vs. G Tablet - My first experiences

6. ACM Bangalo:3rd Annual Quiz and Challenge of Code felicitation::Revised Date-8th Jan,2011

7. Scaling Down