On Thu, Oct 14, 2010 at 12:58 PM, Dianne Hackborn <[email protected]> wrote:
> Instead, follow the LocalService example and just do the normal Java
> implementation of adding a callback that the service calls.

That's a fine pattern as well. However, bear in mind that it makes
configuration changes more challenging -- you have to bind using the
application context (as you pointed out recently), pass the
ServiceConnection between instances via
onRetainNonConfigurationInstance(), etc.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in London: http://skillsmatter.com/go/os-mobile-server

-- 
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