Click here to Skip to main content
15,886,519 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi.
I am in the starting phase of creating an android project that is supposed to spend 99% of its time running in the background. The user is supposed to be able to choose some options and then exit the application with the application just runnin in the background doing its thing. The options the user picks in the main_activity are supposed to change the service behaviour.



Can someone provide me with the right way to approach this?

Thanks
Posted

1 solution

Please refer to this [LINK] to understand how to create a background service. I hope you have no problems with providing user to choose some option.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900