Service in onRebind () method is invoked when in the end!
I see the document, but said that is not clear,
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
onRebind (Intent intent)
Called when new clients have connected to the service, after it had previously been notified that all had disconnected in its onUnbind (Intent).
Documents said very clearly, ah, after all bundled service and the old client contact between the onUnbind inside all over, if there is a new client with a bind connection service, will start onRebind ();
Reply:
Upstairs predecessors, roughly translated, I also know, but I really did not test out the code automatically call onRebind this way, I want to see how everyone is written, this method can be called automatically
Reply:
Would not it? ? Nobody?
Reply:
When the process is triggered when calling bindService service for your event onBind it.
My humble
Reply:
When after already bind, bind again will call ReBind (), how can not be measured. . .
Reply:
+1
Baidu "android aidl " to know
Reply:
+1
Reply:
+2
Reply:
Reply:
Seeking code, seeking truth
Reply:
http://mobile.51cto.com/android-315622.htm
Reply:
Thank you thank you, I just have encountered this problem, now understand! !
No comments:
Post a Comment