when you call stopService(service). is it throwing any errors? On Fri, Sep 23, 2011 at 8:08 AM, Spiral123 <cumis...@gmail.com> wrote:
> > Easy. > > sevice.stop(plz); > > On Sep 22, 1:24 pm, Divyata Panchal <panchal.divyat...@gmail.com> > wrote: > > Hie.. to al Android Developers...!!!!!!!! > > > > please tell me how to stop service in one class which is already > > started in other class. > > i need to start and stop service again n again according to my > > conditions.. pl give proper syntax to stop service.. > > i am using::: Intent service= new Intent(this, myService.class); > > stopService(service); > > > > but this is not working...!!!! > > please guys reply as soon as possible..!!!! > > -- > 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+unsubscr...@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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en