You can call stopSelf () from within a service, or stopService
(Intent) from another activity.
Sincerely,
-Kitzy
On Feb 23, 5:05 am, MobDev developm...@mobilaria.com wrote:
Lol,
I see I actually forgot to place the question in the first part of my
previous post :D
That is : if
Please look at the various service examples in ApiDemos, they cover a lot of
different ways to interact with them.
On Tue, Feb 23, 2010 at 4:05 AM, MobDev developm...@mobilaria.com wrote:
Lol,
I see I actually forgot to place the question in the first part of my
previous post :D
That is : if
actually I had a question regarding this...
I made a service which plays an MP3, so it uses a single instance (in
the whole service) of MediaPlayer..
Still I noticed (by mistake because the Service didn't get closed
while exiting my main Activity) that the Service obviously kept
running, but when
Lol,
I see I actually forgot to place the question in the first part of my
previous post :D
That is : if a Service already is running, is there some way to bind
to it when my app starts up, and/or programmatically check if it's
already running ?
So that I won't be having 2 separate Service
well,
thats a good thing especially in my situation :D
Now my next most prioritized question, can I communicate with a
Service ?
Are there some kind of interfaces for that ?
Btw, you are a fast responder Mark ;)
Thanks for your interest and time :D
On 11 feb, 17:11, Mark Murphy
Now my next most prioritized question, can I communicate with a
Service ?
Absolutely.
Are there some kind of interfaces for that ?
The SDK samples will demonstrate the local binding pattern. You can also
find an example of that here:
Or use startService() to send commands to it.
On Thu, Feb 11, 2010 at 8:25 AM, Mark Murphy mmur...@commonsware.comwrote:
Now my next most prioritized question, can I communicate with a
Service ?
Absolutely.
Are there some kind of interfaces for that ?
The SDK samples will demonstrate
7 matches
Mail list logo