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).
文档说的很清楚啊,,在service和旧的client之间的所有捆绑联系在onUnbind里面全都结束之后,如果有一个新的client用bind连接上service,就会启动onRebind();

解决方案 »

  1.   

    楼上的前辈,翻译我也大体知道,但我用代码真的没有测出来自动调用onRebind这个方法,我想看看大家是如何写的,这个方法才能被自动调用
      

  2.   

    当 有进程 调用 bindService的时候 就会触发 你的service的onBind事件吧.
    个人愚见
      

  3.   

    当已经bind过后,再次bind就会调用ReBind(),怎么会测不出来
      

  4.   

    +1
    百度 "android aidl" 就知道
      

  5.   

    http://mobile.51cto.com/android-315622.htm