On 12/07/2010 08:47 PM, Jin Chiu wrote:
> The only way I've seen for closing AIDl connections is client-
> initiated: Context.unbindService()
> 
> Is it possible the Service itself to initiate disconnects for existing
> AIDL connections?
> 

You could use a callback from the service to the clients, to notify them that
they should disconnect.

RemoteService.java, in the SDK ApiDemos sample, shows how to use AIDL callbacks.

--
  Olivier

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