On Activity start my app is checking for ANY possible network providers, and if there is no network available it shuts down and stops executing code, so user can do nothing till user reopen app.
I want to make it so that the connection detector runs all the time. If user got to app without internet connection, then my app stops running; I want my app to periodically scan code so my app will resume after user connects to any network WITHOUT LEAVING MY APP. Thanks in advance.