1.Service 与Thread、Application的区别
Thread Service Application
是否可设置独立进程 否 是 否
是否能管理生命周期 否 是 是
是否能与其它组件通信 较麻烦 较易 一般
优先级 低 中 高