hi, I tried the same program wht u mentioned, for me it is working fine. u chk in logcat file for confirmation whether the service is stopped or not giving some log statements in ur code....
On Oct 5, 11:01 am, Tim <vkan...@gmail.com> wrote: > Hello, > > I am very new beginner, and I am designing a smallapplicationas > below. > > - After a userstartstheapplication, he/she can click the start > button to start a background task. (e.g. retrieving the news headlines > periodically, then do something...) > > - Even after the user quits theapplication, the background task still > running. > > - To stop the background task, the user needs to run theapplication > again, and clicks the stop button to stop the background task. > > In the above scenario, what API should I use ? (LocalService > Binding ? RemoteServiceBinding ? Handler ?) > > Please help me. Thank you very much. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---