> But can the activity handle that even when its
> not
> running?
That depends on the definition of "handle that" and "its not running",
along with whether or not your service is local or remote.
> In which method will it handle the answer of the service, or how
> do I
> get the answer?
If you
Am Monday 20 April 2009 schrieb Mark Murphy:
> > But this gives me a null pointer on last line...
> >
> >
> > What could I do?
>
> If the service is a local service (in the same application as the
> activity), then do not use an Intent. Have the activity register a
> callback or listener object wi
> I have an activity that uses a service. While the service is running (it
> sends
> some stuff in background) I display a progress bar and disable the send
> button.
>
> Now I created an Intent to update the interface after the send service has
> finished. How can I do this only if the activity i
3 matches
Mail list logo