[Android Pro] Service (startservice , bindservice , unbindservice, sto...
1: startService -------stopService (this will call onDestroy) 2: bindService -------unbindService (this will call onDestroy) 3: startService---bindService----stopService (nothing happen, shoud call unbindService) 4: startService---bindService----unbundService --- stopService (this will call onDestroy) 5: startService---bindService----stopService-----unbindService (this will call onDestroy) 6: bindService---startService---stopService (nothing happen, shoud call unbindService) 7: bindService---startService---unbindService----stopService (this will call onDestroy) 7: bindService---startService----stopService---unbindService (this will call onDestroy) 分类: Android Pro 本文转自demoblog博客园博客,原文链接http://www.cnblogs.com/0616--ataozhijia/p/4912216.html如需转载请自行联系原作者 demoblog