Hi

I have a main activity that binds to a service. The service has a data 
connection where it gets data based on async tasks in my main activity.
When is the correct time to bind and unbind from my service? I dont want to 
kill the service often because id like the data connection to remain open 
until my main activities onDestroy is called. I bind to the service in the 
main activities onCreate(). If my main activity opens another activity (a 
menu to filter the data) do i need to unbind on pause and rebind on resume? 
if so how do i do this without destroying the service?

Thanks for any help.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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

Reply via email to