I am very new beginner, and I am designing a small application as below.
- After a user starts the application, he/she can click the start button to start a background task. (e.g. retrieving the news headlines periodically, then do something...)
- Even after the user quits the application, the background task still running (alive).
- To stop the background task, the user needs to enter the application again, and clicks the stop button to destroy the background task.
In the above scenario, what API should I use ? (Remote Service Binding ? Handler ?)
Could I simply use Remote Service Controller in the programming ?
Please help me. Thank you very much.