I have done a lot of research on this, but still not sure if I can connect to an android service synchronously. startService() and bindService() service calls are asynchronous by nature and what I'm trying to do is make this behavior synchronous.
I want to run a service in the background as long as the android device is on. I already have a broadcastreceiver listening for BOOT_COMPLETED to ensure it starts when it should, and it does. But when the main activity starts, I want to ensure that the service is still running and restart it if it's not.