1、startservice开启后会一直在后台运行,并且在设置里面可以找到。
2、对于bindservice开启服务后就不能再后再查看到。
3、bindservice在代码中不能多次解绑,会报错。
4、bingservice和activity是同时销毁的。都是同时执行onD
5、当onBind方法返回为null时,自定义的onServiceConnected方法是不执行的。
6、当利用button来控制服务的开启时,startservice是可以多次开启的并且走onStart方法,
但是对于bindservice就只能开启一次,后面再点也是无效的。
7、这两种服务都时一开始就执行onCreate和onStart方法。