Service Start At Boot

madru

Active Member
Licensed User
Longtime User
Hi folks,

how can 'Service Start At Boot' be implemented in code?

I like to have a checkbox where the user can enable/disable start @ boot

THX

M
 

corwin42

Expert
Licensed User
Longtime User
That is not possible. You have to check the setting in your service and if the user selected not to start the service just stop it.

Gesendet von meinem LG-P500 mit Tapatalk 2
 
Upvote 0

rfresh

Well-Known Member
Licensed User
Longtime User
There is a way around it, if it's important enough: in your main app, use your checkbox as mentioned, and save the results in a data file. Use a second app that always starts on boot up and checks this data file and then determines to also start your main app or not. But I don't know if you want to have second app or not.
 
Upvote 0

Similar Threads

Top