You can startService(Intent) and then bind to it at anytime using the normal bind/unbind. This will also keep your service running after you unbind from it.
-- Zach Hobbs HelloAndroid.com Android OS news, tutorials, downloads On Wednesday 10 September 2008 7:16:13 am szeldon wrote: > Hi, > > I'm working on an application similar to bittorrent client. Because I > want it to download things in background (even when an activity is not > visible or destroyed), I tried to use the bind/unbind scheme. But > there's a problem, because the service ends after unbinding. So I > tried to use startService(Intent), but there's no way to communicate > with that service. So, is it possible to have a background service > that lives even after activity died and has some kind of interface for > communication with it? > > Thanks in advance. > szeldon > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---