Hey,

Are you talking about AsyncTask with a progress Dialog on a Cancel button
 ?  or ? A Service Class ?  Please clarify

Secondly, Service runs in the background without user interface, so not
sure, which Asynchronous you are taking about.

Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad

On Mon, Jan 2, 2012 at 5:37 PM, elham <[email protected]> wrote:

> Dear All,
>
> I would want to stop the service before the work completes . For
> instance , when the user wishes to cancel, i want to stop the
> service .
>
> Is it possible to do so?
>
> Regards,
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to