2013年10月8日星期二

[Android] Service in onRebind () method is called when in the end what !

Service in onRebind () method is called when in the end what !

I look at the document , but said that is not clear ,
------ Solution ------------------------- -------------------
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).
document says very clearly , ah, in the service of the client and the old link between all bundled inside the onUnbind after all , if there is a new client with a bind on the connection service, will start onRebind ();
------ Solution ---------------------------------------- ----
when the process is triggered when calling bindService service of onBind your event now .
my humble
------ Solution --------------------------------- -----------
when you have bind after bind again will call ReBind (), how can not be measured . . .
------ Solution ---------------------------------------- ----

+1
Baidu "android aidl " to know
------ eference ----------------- ----------------------
upstairs predecessors, roughly translated I know, but I really did not test out with the code automatically call this method onRebind I want to see how you write , this method can be called automatically
------ eference ----------------------- ----------------
not it ? ? No one will ?
------ eference --------------------------------------- < br>
+1
------ eference -------------------------------- -------

+2
------ eference ------------------------ ---------------
  This reply was moderator deleted at 2012-11-01 17:28:37

------ eference ------------------------------------ ---
seeking code , seeking truth
------ eference ----------------------------- ----------
http://mobile.51cto.com/android-315622.htm

没有评论:

发表评论