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

Reply via email to