A.当第一次启动的时候先后调用onCreate()和onStart()方法B.当第一次启动的时候只会调用onCreate()方法C.如果service 已经启动,将先后调用onCreate()和onStart()方法D.如果service 已经启动,只会执行onStart()方法,不在执行onCreate()方法
A.停止时onCreate()→onStart()B.停止时onStop()→onDestroy()C.停止时onDestroy()D.停止时onStop()
A.启动时onCreate()→onStartCommand()B.停止时,onStop()→onDestroy()C.启动时onCreate()→onStart()→onResume()D.停止时,onStop()