class extending service . The UI apk and Service apk communicate
through intents . No binders involved.
My service starts a operation which is niether in a thread nor in
AsynTask. When the user selects cancel the UI apk sends a intent to
Service apk and there i am calling stopService but the service
continues .
Please let me know if you understand what is happening .
On Jan 2, 5:11 pm, Mukesh Srivastav <mukicha...@gmail.com> wrote:
> 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 <elhamna...@gmail.com> 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 android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscribe@googlegroups.com
> > 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment