Question 1:
1 activity : MAIN
and
1 service : SERVICE1 (running every x seconds)
I want MAIN to launch SERVICE1 :
StopService(SERVICE1) in MAIN, Activity_Pause
StartService(SERVICE1) in MAIN, Activity_Resume
and
StartServiceAt(x...) in SERVICE1, Service_Start
StopService("") in SERVICE1, Service_Destroy
is it right ?
1 activity : MAIN
and
1 service : SERVICE1 (running every x seconds)
I want MAIN to launch SERVICE1 :
StopService(SERVICE1) in MAIN, Activity_Pause
StartService(SERVICE1) in MAIN, Activity_Resume
and
StartServiceAt(x...) in SERVICE1, Service_Start
StopService("") in SERVICE1, Service_Destroy
is it right ?
Last edited: